(()=>{var t,e,n={296:(t,e,n)=>{"use strict";n.d(e,{F:()=>i,m:()=>o});const i=()=>{let t=!1;var e;return e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0),t},o=()=>/Android/i.test(navigator.userAgent)},357:(t,e,n)=>{"use strict";n.d(e,{e:()=>i});const i={"pt-BR":{"input-placeholder":"Sua resposta...","input-birthday":"DD/MM/AAAA","send-text":"Enviar",now:"agora",online_now:"Online agora",powered_by:"Feito com",test_free_leadster:"Teste Grátis Leadster",access_now:"Acessar agora!",cancel_redirect:"Cancelar Redirecionamento",open_your_whatsapp:"Abrindo o seu WhatsApp...",select_one:"Selecione ao menos um item da lista.",select_option:"-- Selecione uma opção --",send_whatsapp:"Falar por WhatsApp",restart_chat:"Reiniciar Chat",what_is_your_city:"Qual a sua cidade?",loading:"Carregando",continue:"Continuar",cancel:"Cancelar",schedule:"Agendar",return:"Voltar",select_hour:"Selecione o horário",sending:"Enviando",confirm_schedule:"Confirme o agendamento",date:"Data",time:"Horário",at:"às",avatar:"Avatar",logo:"Logo",close_button:"Botão Fechar",right_arrow:"Seta Direita",next:"Próximo",previous:"Anterior",whatsapp:"WhatsApp",new_message:"(1) Nova Mensagem!",error_schedule_line_1:"Não conseguimos agendar sua reunião neste momento 😥",error_schedule_line_2:"Fale com nossa equipe por gentileza",scheduled_sucessfuly:"Agendamento realizado",privacy_policy_leadster:"Clicando acima você aceita nossas | Políticas de privacidade",privacy_policy_website:"Clicando acima você aceita as Políticas de privacidade deste |site| e da | Leadster",leadster_ai:{"input-placeholder":"Qual sua dúvida?...",default_end_conversation_label:"Falar com um atendente",feedback_error:"Por favor, tente novamente mais tarde. Estou trabalhando para corrigir e voltar a responder",see_product:"Ver produto",disconnected_by_idle_timeout:{message_01:"Opa, pelo tempo de inatividade, estamos encerrando o atendimento",message_02:"Caso queira reiniciar o chat, por favor, clique no botão abaixo"},thumbs_up:"Resposta satisfatória",thumbs_down:"Resposta insatisfatória"},wrong_messages:{phone:"Desculpe, não entendi o seu telefone.",email:"Desculpe, não entendi o seu email.",email_corp:"Por favor, informe um endereço de e-mail corporativo válido.","unique-leadster-email":"Desculpe, esse e-mail já está cadastrado em nosso sistema, faça o login ou recupere sua senha.",birthday:"Desculpe, não entendi o seu aniversário. DD/MM/AAAA",cpf:"Desculpe, não entendi o seu CPF.",url:"Desculpe, não entendi a sua URL.",cep:"Desculpe, não entendi o seu CEP.","cpf/cnpj":"Desculpe, não entendi o seu CPF/CNPJ.",cnpj:"Desculpe, não entendi o seu CNPJ.",real:"Desculpe, não entendi o seu valor.",dollar:"Desculpe, não entendi o seu valor.",euro:"Desculpe, não entendi o seu valor.","state-and-city":"Desculpe, não entendi sua resposta. Talvez esteja faltando um acento.",default:"Desculpe, não entendi a sua resposta.",max_length:"Desculpe, o texto excedeu o limite de caracteres.",error_request:"Algo deu errado. Por favor, tente novamente mais tarde."},day:"Dia",night:"Noite",date_preposition:"",days:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],recommendation_response:"Selecionamos produtos incríveis pra você! Só lembrando que os preços podem sofrer alterações por conta das nossas promoções imperdíveis.",recommendation_not_found:"Ops, não consegui encontrar nada com essas especificações. Você pode me dar mais detalhes, ou tentar outro produto."},"en-US":{"input-placeholder":"Your answer...","input-birthday":"DD/MM/YYYY","send-text":"Send",now:"now",online_now:"Online now",powered_by:"Powered by",test_free_leadster:"Test free Leadster",access_now:"Access now!",cancel_redirect:"Cancel Redirection",open_your_whatsapp:"Opening your WhatsApp...",select_one:"Select at least one item from the list.",select_option:"-- select an option --",send_whatsapp:"Speak via WhatsApp",restart_chat:"Restart Chat",what_is_your_city:"What is your city?",loading:"Loading",continue:"Continue",cancel:"Cancel",schedule:"Schedule",return:"Return",select_hour:"Select time",sending:"Sending",confirm_schedule:"Confirm schedule",date:"Date",time:"Time",at:"at",avatar:"Avatar",logo:"Logo",close_button:"Close Button",right_arrow:"Right Arrow",next:"Next",previous:"Previous",whatsapp:"WhatsApp",new_message:"(1) New Message!",error_schedule_line_1:"We are unable to schedule your meeting at this time 😥",error_schedule_line_2:"Please speak to our team",scheduled_sucessfuly:"Scheduled sucessfuly",privacy_policy_leadster:"By clicking above you accept our | Privacy Policy",privacy_policy_website:"By clicking above you accept the Privacy Policies of this |site| and this |platform",leadster_ai:{"input-placeholder":"What is your doubt?...",default_end_conversation_label:"Speak with a representative",feedback_error:"Please try again later. I'm working to fix it and get back to responding",see_product:"See product",disconnected_by_idle_timeout:{message_01:"Oops, due to inactivity, we are ending the session",message_02:"If you want to restart the chat, please click the button below"},thumbs_up:"Satisfactory response",thumbs_down:"Unsatisfactory response"},wrong_messages:{phone:"Sorry, I didn't understand your phone.",email:"Sorry, I didn't understand your email.",email_corp:"Please enter a valid corporate email address.","unique-leadster-email":"Sorry, this email is already registered in our system, login or retrieve your password.",birthday:"Sorry, I didn't understand your birthday. DD/MM/YYYY",cpf:"Sorry, I didn't understand your CPF.",url:"Sorry, I didn't understand your URL.",cep:"Sorry, I didn't understand your zip code.","cpf/cnpj":"Sorry, I didn't understand your CPF/CNPJ.",cnpj:"Sorry, I didn't understand your CNPJ.",real:"Sorry, I didn't understand your value.",dollar:"Sorry, I didn't understand your value.",euro:"Sorry, I didn't understand your value.","state-and-city":"Sorry, I didn't understand your value. Maybe an accent is missing.",default:"Sorry, I didn't understand your answer.",max_length:"Sorry, the text exceeded the character limit.",error_request:"Something went wrong. Please try again later."},day:"Day",night:"Night",date_preposition:"of",days:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],recommendation_response:"We’ve selected amazing products for you! Just a reminder that prices may change due to our unbeatable promotions.",recommendation_not_found:"Oops, I couldn't find anything with those specifications. You can give me more details, or try another product."},"es-ES":{"input-placeholder":"Tu respuesta...","input-birthday":"DD/MM/AAAA","send-text":"Enviar",now:"ahora",online_now:"Online ahora",powered_by:"Hecho con",test_free_leadster:"Prueba gratuita de Leadster",access_now:"¡Accede ahora!",cancel_redirect:"Cancelar redireccionamiento",open_your_whatsapp:"Abriendo tu WhatsApp...",select_one:"Seleccione al menos un elemento de la lista.",select_option:"-- Seleccione una opción --",send_whatsapp:"Hablar por WhatsApp",restart_chat:"Reiniciar Chat",what_is_your_city:"¿Cuál es tu ciudad?",loading:"Cargando",continue:"Continuar",cancel:"Cancelar",schedule:"Programar",return:"Regresar",select_hour:"Seleccionar Hora",sending:"Enviando",confirm_schedule:"Confirmar la cita",date:"Fecha",time:"tiempo",at:"a",avatar:"Avatar",logo:"Logo",close_button:"Botón Cerrar",right_arrow:"Flecha Derecha",next:"Siguiente",previous:"Anterior",whatsapp:"WhatsApp",new_message:"(1) Nuevo mensaje!",error_schedule_line_1:"No podemos programar su reunión en este momento 😥",error_schedule_line_2:"Por favor habla con nuestro equipo",scheduled_sucessfuly:"Programación realizada",privacy_policy_leadster:"Al hacer click arriba aceptas nuestra | Política de Privacidad",privacy_policy_website:"Al hacer clic arriba, acepta las Políticas de privacidad de este | sitio | y | Leadster",leadster_ai:{"input-placeholder":"¿Cuál es su duda?...",default_end_conversation_label:"Hablar con un asistente",feedback_error:"Por favor, inténtalo de nuevo más tarde. Estoy trabajando para corregirlo y volver a responder",see_product:"Ver producto",disconnected_by_idle_timeout:{message_01:"Vaya, debido a la inactividad, estamos terminando la sesión",message_02:"Si desea reiniciar el chat, por favor haga clic en el botón de abajo"},thumbs_up:"Respuesta satisfactoria",thumbs_down:"Respuesta insatisfactoria"},wrong_messages:{phone:"Lo siento, no entendí tu teléfono.",email:"Lo siento, no entendí tu correo electrónico.",email_corp:"Ingrese una dirección de correo electrónico corporativa válida.","unique-leadster-email":"Lo sentimos, este correo electrónico ya está registrado en nuestro sistema, inicie sesión o recupere su contraseña.",birthday:"Lo siento, no entendí tu cumpleaños. DD/MM/AAAA",cpf:"Lo siento, no entendí tu CPF.",url:"Lo siento, no entendí tu URL.",cep:"Lo siento, no entendí tu código postal.","cpf/cnpj":"Lo siento, no entendí su CPF / CNPJ.",cnpj:"Lo siento, no entendí tu CNPJ.",real:"Lo siento, no entendí tu valor.",dollar:"Lo siento, no entendí tu valor.",euro:"Lo siento, no entendí tu valor.","state-and-city":"Lo siento, no entendí tu valor. Tal vez le falte un acento.",default:"Lo siento, no entendí tu respuesta.",max_length:"Lo siento, el texto superó el límite de caracteres.",error_request:"Algo salió mal. Por favor, inténtelo de nuevo más tarde."},day:"Día",night:"Noche",date_preposition:"de",days:["Dom","Lun","Mar","Mie","Jue","Vie","Sab"],months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],recommendation_response:"¡Hemos seleccionado productos increíbles para ti! Solo un recordatorio de que los precios pueden cambiar debido a nuestras promociones irresistibles.",recommendation_not_found:"Ups, no pude encontrar nada con esas especificaciones. Puedes darme más detalles o intentar con otro producto."},"nl-NL":{"input-placeholder":"Uw antwoord...","input-birthday":"DD/MM/JJJJ","send-text":"Verzenden",now:"nu",online_now:"Nu online",powered_by:"Gemaakt met",test_free_leadster:"Gratis Leadster Test",access_now:"Nu Toegang!",cancel_redirect:"Redirect Annuleren",open_your_whatsapp:"Uw WhatsApp openen...",select_one:"Selecteer ten minste één item uit de lijst.",select_option:"-- Selecteer een optie --",send_whatsapp:"Praten via WhatsApp",restart_chat:"Chat Herstarten",what_is_your_city:"Wat is uw stad?",loading:"Laden",continue:"Doorgaan",cancel:"Annuleren",schedule:"Afspraak maken",return:"Terug",select_hour:"Selecteer de tijd",sending:"Verzenden",confirm_schedule:"Bevestig de afspraak",date:"Datum",time:"Tijd",at:"om",avatar:"Avatar",logo:"Logo",close_button:"Sluitknop",right_arrow:"Rechter Pijl",next:"Volgende",previous:"Vorige",whatsapp:"WhatsApp",new_message:"(1) Nieuw Bericht!",error_schedule_line_1:"We konden uw vergadering op dit moment niet plannen 😥",error_schedule_line_2:"Neem contact op met ons team alstublieft",scheduled_sucessfuly:"Afspraak succesvol gemaakt",privacy_policy_leadster:"Door hierboven te klikken accepteert u ons | Privacybeleid",privacy_policy_website:"Door hierboven te klikken accepteert u het Privacybeleid van deze |site| en van | Leadster",leadster_ai:{"input-placeholder":"Wat is uw vraag?...",default_end_conversation_label:"Spreek met een vertegenwoordiger",feedback_error:"Probeer het later opnieuw. Ik werk eraan om het op te lossen en te antwoorden",see_product:"Product bekijken",disconnected_by_idle_timeout:{message_01:"Oeps, vanwege inactiviteit sluiten we de sessie",message_02:"Als u de chat opnieuw wilt starten, klik dan op de knop hieronder"},thumbs_up:"Tevredenstellend antwoord",thumbs_down:"Ontevredenstellend antwoord"},wrong_messages:{phone:"Sorry, ik begreep uw telefoonnummer niet.",email:"Sorry, ik begreep uw e-mail niet.",email_corp:"Voer een geldig zakelijk e-mailadres in.","unique-leadster-email":"Sorry, dit e-mailadres is al geregistreerd in ons systeem. Log in of herstel uw wachtwoord.",birthday:"Sorry, ik begreep uw geboortedatum niet. DD/MM/JJJJ",cpf:"Sorry, ik begreep uw CPF niet.",url:"Sorry, ik begreep uw URL niet.",cep:"Sorry, ik begreep uw postcode niet.","cpf/cnpj":"Sorry, ik begreep uw CPF/CNPJ niet.",cnpj:"Sorry, ik begreep uw CNPJ niet.",real:"Sorry, ik begreep uw waarde niet.",dollar:"Sorry, ik begreep uw waarde niet.",euro:"Sorry, ik begreep uw waarde niet.","state-and-city":"Sorry, ik begreep uw antwoord niet. Misschien mist er een accent.",default:"Sorry, ik begreep uw antwoord niet.",max_length:"Sorry, de tekst heeft het tekenlimiet overschreden.",error_request:"Er is iets misgegaan. Probeer het later opnieuw."},day:"Dag",night:"Nacht",date_preposition:"",days:["Zo","Ma","Di","Wo","Do","Vr","Za"],months:["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"],recommendation_response:"We hebben geweldige producten voor je geselecteerd! Vergeet niet dat de prijzen kunnen veranderen door onze onverslaanbare aanbiedingen.",recommendation_not_found:"Oeps, ik kon niets vinden met deze specificaties. Je kunt me meer details geven of een ander product proberen."},"de-DE":{"input-placeholder":"Ihre Antwort...","input-birthday":"TT/MM/JJJJ","send-text":"Senden",now:"jetzt",online_now:"Jetzt online",powered_by:"Erstellt mit",test_free_leadster:"Kostenlos Leadster testen",access_now:"Jetzt zugreifen!",cancel_redirect:"Weiterleitung abbrechen",open_your_whatsapp:"Öffne dein WhatsApp...",select_one:"Wählen Sie mindestens einen Eintrag aus der Liste aus.",select_option:"-- Wählen Sie eine Option --",send_whatsapp:"Per WhatsApp chatten",restart_chat:"Chat neu starten",what_is_your_city:"Was ist Ihre Stadt?",loading:"Wird geladen",continue:"Fortsetzen",cancel:"Abbrechen",schedule:"Termin planen",return:"Zurück",select_hour:"Wählen Sie die Uhrzeit",sending:"Senden",confirm_schedule:"Termin bestätigen",date:"Datum",time:"Uhrzeit",at:"um",avatar:"Avatar",logo:"Logo",close_button:"Schließen-Schaltfläche",right_arrow:"Rechter Pfeil",next:"Nächste",previous:"Vorherige",whatsapp:"WhatsApp",new_message:"(1) Neue Nachricht!",error_schedule_line_1:"Wir konnten Ihren Termin momentan nicht planen 😥",error_schedule_line_2:"Bitte kontaktieren Sie unser Team",scheduled_sucessfuly:"Termin erfolgreich geplant",privacy_policy_leadster:"Durch Klicken oben akzeptieren Sie unsere | Datenschutzrichtlinien",privacy_policy_website:"Durch Klicken oben akzeptieren Sie die Datenschutzrichtlinien dieser |Website| und von | Leadster",leadster_ai:{"input-placeholder":"Was ist Ihre Frage?...",default_end_conversation_label:"Mit einem Vertreter sprechen",feedback_error:"Bitte versuchen Sie es später erneut. Ich arbeite daran, das Problem zu beheben und zu antworten",see_product:"Produkt ansehen",disconnected_by_idle_timeout:{message_01:"Hoppla, wegen Inaktivität schließen wir die Sitzung",message_02:"Falls Sie den Chat neu starten möchten, klicken Sie bitte auf die Schaltfläche unten"},thumbs_up:"Zufriedenstellende Antwort",thumbs_down:"Unbefriedigende Antwort"},wrong_messages:{phone:"Entschuldigung, ich habe Ihre Telefonnummer nicht verstanden.",email:"Entschuldigung, ich habe Ihre E-Mail-Adresse nicht verstanden.",email_corp:"Bitte geben Sie eine gültige geschäftliche E-Mail-Adresse ein.","unique-leadster-email":"Entschuldigung, diese E-Mail-Adresse ist bereits in unserem System registriert. Bitte loggen Sie sich ein oder stellen Sie Ihr Passwort wieder her.",birthday:"Entschuldigung, ich habe Ihr Geburtsdatum nicht verstanden. TT/MM/JJJJ",cpf:"Entschuldigung, ich habe Ihre CPF nicht verstanden.",url:"Entschuldigung, ich habe Ihre URL nicht verstanden.",cep:"Entschuldigung, ich habe Ihre Postleitzahl nicht verstanden.","cpf/cnpj":"Entschuldigung, ich habe Ihre CPF/CNPJ nicht verstanden.",cnpj:"Entschuldigung, ich habe Ihre CNPJ nicht verstanden.",real:"Entschuldigung, ich habe Ihren Wert nicht verstanden.",dollar:"Entschuldigung, ich habe Ihren Wert nicht verstanden.",euro:"Entschuldigung, ich habe Ihren Wert nicht verstanden.","state-and-city":"Entschuldigung, ich habe Ihre Antwort nicht verstanden. Vielleicht fehlt ein Akzent.",default:"Entschuldigung, ich habe Ihre Antwort nicht verstanden.",max_length:"Entschuldigung, der Text hat das Zeichenlimit überschritten.",error_request:"Etwas ist schiefgelaufen. Bitte versuchen Sie es später erneut."},day:"Tag",night:"Nacht",date_preposition:"",days:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],recommendation_response:"Wir haben fantastische Produkte für Sie ausgewählt! Denken Sie daran, dass sich die Preise aufgrund unserer unschlagbaren Angebote ändern können.",recommendation_not_found:"Ups, ich konnte mit diesen Angaben nichts finden. Sie können mir mehr Details geben oder ein anderes Produkt versuchen."},"it-IT":{"input-placeholder":"La tua risposta...","input-birthday":"GG/MM/AAAA","send-text":"Invia",now:"adesso",online_now:"Online adesso",powered_by:"Realizzato con",test_free_leadster:"Prova Leadster Gratis",access_now:"Accedi ora!",cancel_redirect:"Annulla reindirizzamento",open_your_whatsapp:"Apertura di WhatsApp...",select_one:"Seleziona almeno un elemento dalla lista.",select_option:"-- Seleziona un'opzione --",send_whatsapp:"Parla su WhatsApp",restart_chat:"Riavvia chat",what_is_your_city:"Qual è la tua città?",loading:"Caricamento in corso",continue:"Continua",cancel:"Annulla",schedule:"Pianifica",return:"Ritorna",select_hour:"Seleziona l'ora",sending:"Invio",confirm_schedule:"Conferma la pianificazione",date:"Data",time:"Orario",at:"alle",avatar:"Avatar",logo:"Logo",close_button:"Pulsante Chiudi",right_arrow:"Freccia Destra",next:"Successivo",previous:"Precedente",whatsapp:"WhatsApp",new_message:"(1) Nuovo messaggio!",error_schedule_line_1:"Non siamo riusciti a pianificare la tua riunione in questo momento 😥",error_schedule_line_2:"Per favore, contatta il nostro team",scheduled_sucessfuly:"Pianificazione avvenuta con successo",privacy_policy_leadster:"Cliccando sopra accetti le nostre | Politiche sulla privacy",privacy_policy_website:"Cliccando sopra accetti le Politiche sulla privacy di questo |sito| e di | Leadster",leadster_ai:{"input-placeholder":"Qual è la tua domanda?...",default_end_conversation_label:"Parla con un rappresentante",feedback_error:"Per favore, riprova più tardi. Sto lavorando per risolvere e rispondere",see_product:"Vedi prodotto",disconnected_by_idle_timeout:{message_01:"Ops, a causa dell'inattività, stiamo terminando la sessione",message_02:"Se vuoi riavviare la chat, clicca sul pulsante qui sotto"},thumbs_up:"Risposta soddisfacente",thumbs_down:"Risposta insoddisfacente"},wrong_messages:{phone:"Scusa, non ho capito il tuo numero di telefono.",email:"Scusa, non ho capito la tua email.",email_corp:"Per favore, inserisci un indirizzo email aziendale valido.","unique-leadster-email":"Scusa, questa email è già registrata nel nostro sistema. Accedi o recupera la tua password.",birthday:"Scusa, non ho capito la tua data di nascita. GG/MM/AAAA",cpf:"Scusa, non ho capito il tuo CPF.",url:"Scusa, non ho capito il tuo URL.",cep:"Scusa, non ho capito il tuo CAP.","cpf/cnpj":"Scusa, non ho capito il tuo CPF/CNPJ.",cnpj:"Scusa, non ho capito il tuo CNPJ.",real:"Scusa, non ho capito il tuo valore.",dollar:"Scusa, non ho capito il tuo valore.",euro:"Scusa, non ho capito il tuo valore.","state-and-city":"Scusa, non ho capito la tua risposta. Forse manca un accento.",default:"Scusa, non ho capito la tua risposta.",max_length:"Scusa, il testo ha superato il limite di caratteri.",error_request:"Qualcosa è andato storto. Per favore, riprova più tardi."},day:"Giorno",night:"Notte",date_preposition:"",days:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],recommendation_response:"Abbiamo selezionato prodotti incredibili per te! Ricorda che i prezzi possono variare a causa delle nostre promozioni imperdibili.",recommendation_not_found:"Ops, non sono riuscito a trovare nulla con queste specifiche. Puoi darmi più dettagli o provare con un altro prodotto."},"ar-SA":{"input-placeholder":"إجابتك...","input-birthday":"DD/MM/YYYY","send-text":"إرسال",now:"الآن",online_now:"متصل الآن",powered_by:"مدعوم من",test_free_leadster:"جرب Leadster مجاناً",access_now:"الوصول الآن!",cancel_redirect:"إلغاء إعادة التوجيه",open_your_whatsapp:"فتح واتساب الخاص بك...",select_one:"يرجى اختيار عنصر واحد على الأقل من القائمة.",select_option:"-- اختر خياراً --",send_whatsapp:"تحدث عبر واتساب",restart_chat:"إعادة بدء المحادثة",what_is_your_city:"ما هي مدينتك؟",loading:"جار التحميل",continue:"استمرار",cancel:"إلغاء",schedule:"جدولة",return:"عودة",select_hour:"اختر الوقت",sending:"جار الإرسال",confirm_schedule:"تأكيد الجدولة",date:"التاريخ",time:"الوقت",at:"في",avatar:"الصورة الرمزية",logo:"الشعار",close_button:"زر الإغلاق",right_arrow:"السهم الأيمن",next:"التالي",previous:"السابق",whatsapp:"واتساب",new_message:"(1) رسالة جديدة!",error_schedule_line_1:"لم نتمكن من جدولة اجتماعك في هذا الوقت 😥",error_schedule_line_2:"يرجى الاتصال بفريقنا",scheduled_sucessfuly:"تمت الجدولة بنجاح",privacy_policy_leadster:"بالنقر أعلاه، فإنك تقبل | سياسة الخصوصية الخاصة بنا",privacy_policy_website:"بالنقر أعلاه، فإنك تقبل سياسة الخصوصية الخاصة بهذا |الموقع| و Leadster",leadster_ai:{"input-placeholder":"ما هو سؤالك؟...",default_end_conversation_label:"التحدث مع ممثل",feedback_error:"يرجى المحاولة مرة أخرى لاحقاً. أنا أعمل على حل المشكلة والرد",see_product:"عرض المنتج",disconnected_by_idle_timeout:{message_01:"عذراً، نظراً لعدم النشاط، سننهي الجلسة",message_02:"إذا كنت ترغب في إعادة بدء المحادثة، يرجى النقر على الزر أدناه"},thumbs_up:"استجابة مرضية",thumbs_down:"استجابة غير مرضية"},wrong_messages:{phone:"عذراً، لم أفهم رقم هاتفك.",email:"عذراً، لم أفهم بريدك الإلكتروني.",email_corp:"يرجى إدخال عنوان بريد إلكتروني صالح للشركة.","unique-leadster-email":"عذراً، هذا البريد الإلكتروني مسجل بالفعل في نظامنا. يرجى تسجيل الدخول أو استعادة كلمة المرور الخاصة بك.",birthday:"عذراً، لم أفهم تاريخ ميلادك. DD/MM/YYYY",cpf:"عذراً، لم أفهم رقم CPF الخاص بك.",url:"عذراً، لم أفهم عنوان URL الخاص بك.",cep:"عذراً، لم أفهم رمزك البريدي.","cpf/cnpj":"عذراً، لم أفهم رقم CPF/CNPJ الخاص بك.",cnpj:"عذراً، لم أفهم رقم CNPJ الخاص بك.",real:"عذراً، لم أفهم قيمتك.",dollar:"عذراً، لم أفهم قيمتك.",euro:"عذراً، لم أفهم قيمتك.","state-and-city":"عذراً، لم أفهم إجابتك. ربما هناك نقص في التشكيل.",default:"عذراً، لم أفهم إجابتك.",max_length:"عذراً، تجاوز النص الحد الأقصى للأحرف.",error_request:"حدث خطأ ما. يرجى المحاولة مرة أخرى لاحقًا."},day:"يوم",night:"ليل",date_preposition:"",days:["أحد","إثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],months:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],recommendation_response:"اخترنا لك منتجات رائعة! فقط تذكير بأن الأسعار قد تتغير بسبب عروضنا المميزة التي لا تُفوت.",recommendation_not_found:"عذراً، لم أتمكن من العثور على أي شيء بهذه المواصفات. يمكنك إعطائي مزيداً من التفاصيل أو تجربة منتج آخر."},"hi-IN":{"input-placeholder":"आपका उत्तर...","input-birthday":"DD/MM/YYYY","send-text":"भेजें",now:"अभी",online_now:"अभी ऑनलाइन",powered_by:"द्वारा संचालित",test_free_leadster:"नि:शुल्क लीडस्टर परीक्षण",access_now:"अभी एक्सेस करें!",cancel_redirect:"पुनः निर्देश रद्द करें",open_your_whatsapp:"आपका व्हाट्सएप खोल रहा है...",select_one:"कृपया सूची से कम से कम एक आइटम चुनें।",select_option:"-- एक विकल्प चुनें --",send_whatsapp:"व्हाट्सएप पर बात करें",restart_chat:"चैट पुनः प्रारंभ करें",what_is_your_city:"आपका शहर कौन सा है?",loading:"लोड हो रहा है",continue:"जारी रखें",cancel:"रद्द करें",schedule:"अनुसूची",return:"वापस",select_hour:"समय चुनें",sending:"भेजा जा रहा है",confirm_schedule:"अनुसूची की पुष्टि करें",date:"तारीख",time:"समय",at:"पर",avatar:"अवतार",logo:"लोगो",close_button:"बंद करें बटन",right_arrow:"दायां तीर",next:"अगला",previous:"पिछला",whatsapp:"व्हाट्सएप",new_message:"(1) नया संदेश!",error_schedule_line_1:"हम इस समय आपकी मीटिंग निर्धारित नहीं कर सके 😥",error_schedule_line_2:"कृपया हमारी टीम से संपर्क करें",scheduled_sucessfuly:"अनुसूची सफलतापूर्वक बनाई गई",privacy_policy_leadster:"ऊपर क्लिक करके आप हमारी | गोपनीयता नीतियों को स्वीकार करते हैं",privacy_policy_website:"ऊपर क्लिक करके आप इस |साइट| और |लीडस्टर की गोपनीयता नीतियों को स्वीकार करते हैं",leadster_ai:{"input-placeholder":"आपका प्रश्न क्या है?...",default_end_conversation_label:"एक प्रतिनिधि से बात करें",feedback_error:"कृपया बाद में पुनः प्रयास करें। मैं समस्या को हल करने और उत्तर देने के लिए काम कर रहा हूं",see_product:"उत्पाद देखें",disconnected_by_idle_timeout:{message_01:"अरे, निष्क्रियता के कारण, हम सत्र समाप्त कर रहे हैं",message_02:"यदि आप चैट को पुनः प्रारंभ करना चाहते हैं, तो कृपया नीचे दिए गए बटन पर क्लिक करें"},thumbs_up:"संतोषजनक प्रतिक्रिया",thumbs_down:"असंतोषजनक प्रतिक्रिया"},wrong_messages:{phone:"माफ़ करें, मैं आपका फ़ोन नंबर समझ नहीं सका।",email:"माफ़ करें, मैं आपका ईमेल समझ नहीं सका।",email_corp:"कृपया एक मान्य कॉर्पोरेट ईमेल पता प्रदान करें।","unique-leadster-email":"माफ़ करें, यह ईमेल पहले से ही हमारे सिस्टम में पंजीकृत है। कृपया लॉगिन करें या अपना पासवर्ड पुनः प्राप्त करें।",birthday:"माफ़ करें, मैं आपकी जन्मतिथि नहीं समझ सका। DD/MM/YYYY",cpf:"माफ़ करें, मैं आपका CPF समझ नहीं सका।",url:"माफ़ करें, मैं आपका URL समझ नहीं सका।",cep:"माफ़ करें, मैं आपका CEP समझ नहीं सका।","cpf/cnpj":"माफ़ करें, मैं आपका CPF/CNPJ समझ नहीं सका।",cnpj:"माफ़ करें, मैं आपका CNPJ समझ नहीं सका।",real:"माफ़ करें, मैं आपकी राशि नहीं समझ सका।",dollar:"माफ़ करें, मैं आपकी राशि नहीं समझ सका।",euro:"माफ़ करें, मैं आपकी राशि नहीं समझ सका।","state-and-city":"माफ़ करें, मैं आपका उत्तर समझ नहीं सका। शायद कोई उच्चारण गायब है।",default:"माफ़ करें, मैं आपका उत्तर समझ नहीं सका।",max_length:"माफ़ करें, पाठ अक्षर सीमा से अधिक हो गया है।",error_request:"कुछ गलत हो गया। कृपया बाद में पुनः प्रयास करें।"},day:"दिन",night:"रात",date_preposition:"",days:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],months:["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"],recommendation_response:"हमने आपके लिए शानदार उत्पाद चुने हैं! बस याद दिलाना चाहते हैं कि हमारे अद्वितीय प्रमोशन्स के कारण कीमतें बदल सकती हैं।",recommendation_not_found:"माफ़ करें, मैं इन विशिष्टताओं के साथ कुछ भी नहीं ढूंढ सका। आप मुझे और विवरण दे सकते हैं, या कोई अन्य उत्पाद आज़मा सकते हैं।"},"ru-RU":{"input-placeholder":"Ваш ответ...","input-birthday":"ДД/ММ/ГГГГ","send-text":"Отправить",now:"сейчас",online_now:"В сети сейчас",powered_by:"Сделано с",test_free_leadster:"Бесплатный тест Leadster",access_now:"Получить доступ сейчас!",cancel_redirect:"Отменить перенаправление",open_your_whatsapp:"Открываем ваш WhatsApp...",select_one:"Выберите хотя бы один элемент из списка.",select_option:"-- Выберите опцию --",send_whatsapp:"Написать в WhatsApp",restart_chat:"Перезапустить чат",what_is_your_city:"Какой у вас город?",loading:"Загрузка",continue:"Продолжить",cancel:"Отмена",schedule:"Запланировать",return:"Назад",select_hour:"Выберите время",sending:"Отправка",confirm_schedule:"Подтвердите расписание",date:"Дата",time:"Время",at:"в",avatar:"Аватар",logo:"Логотип",close_button:"Кнопка закрытия",right_arrow:"Стрелка вправо",next:"Следующий",previous:"Предыдущий",whatsapp:"WhatsApp",new_message:"(1) Новое сообщение!",error_schedule_line_1:"Мы не смогли запланировать вашу встречу в данный момент 😥",error_schedule_line_2:"Пожалуйста, свяжитесь с нашей командой",scheduled_sucessfuly:"Запланировано успешно",privacy_policy_leadster:"Нажимая выше, вы принимаете наши | Политику конфиденциальности",privacy_policy_website:"Нажимая выше, вы принимаете Политику конфиденциальности этого |сайта| и Leadster",leadster_ai:{"input-placeholder":"Какой у вас вопрос?...",default_end_conversation_label:"Поговорить с оператором",feedback_error:"Пожалуйста, попробуйте позже. Я работаю над исправлением и скоро смогу ответить",see_product:"Посмотреть продукт",disconnected_by_idle_timeout:{message_01:"Из-за длительного бездействия мы завершаем обслуживание",message_02:"Если хотите перезапустить чат, пожалуйста, нажмите кнопку ниже"},thumbs_up:"Удовлетворительный ответ",thumbs_down:"Неудовлетворительный ответ"},wrong_messages:{phone:"Извините, я не понял ваш телефон.",email:"Извините, я не понял ваш email.",email_corp:"Пожалуйста, укажите действительный корпоративный адрес электронной почты.","unique-leadster-email":"Извините, этот email уже зарегистрирован в нашей системе, войдите в систему или восстановите пароль.",birthday:"Извините, я не понял вашу дату рождения. ДД/ММ/ГГГГ",cpf:"Извините, я не понял ваш CPF.",url:"Извините, я не понял ваш URL.",cep:"Извините, я не понял ваш CEP.","cpf/cnpj":"Извините, я не понял ваш CPF/CNPJ.",cnpj:"Извините, я не понял ваш CNPJ.",real:"Извините, я не понял вашу сумму.",dollar:"Извините, я не понял вашу сумму.",euro:"Извините, я не понял вашу сумму.","state-and-city":"Извините, я не понял ваш ответ. Возможно, не хватает акцента.",default:"Извините, я не понял ваш ответ.",max_length:"Извините, текст превысил лимит символов.",error_request:"Что-то пошло не так. Пожалуйста, попробуйте позже."},day:"День",night:"Ночь",date_preposition:"",days:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],recommendation_response:"Мы подобрали для вас потрясающие товары! Напоминаем, что цены могут измениться из-за наших невероятных акций.",recommendation_not_found:"Упс, я не смог найти ничего по этим параметрам. Вы можете дать мне больше деталей или попробовать другой продукт."},"fr-FR":{"input-placeholder":"Votre réponse...","input-birthday":"JJ/MM/AAAA","send-text":"Envoyer",now:"maintenant",online_now:"En ligne maintenant",powered_by:"Fait avec",test_free_leadster:"Essai gratuit Leadster",access_now:"Accéder maintenant!",cancel_redirect:"Annuler la redirection",open_your_whatsapp:"Ouverture de votre WhatsApp...",select_one:"Veuillez sélectionner au moins un élément de la liste.",select_option:"-- Sélectionnez une option --",send_whatsapp:"Parler via WhatsApp",restart_chat:"Redémarrer le chat",what_is_your_city:"Quelle est votre ville?",loading:"Chargement",continue:"Continuer",cancel:"Annuler",schedule:"Planifier",return:"Retourner",select_hour:"Sélectionnez l'heure",sending:"Envoi",confirm_schedule:"Confirmez la planification",date:"Date",time:"Heure",at:"à",avatar:"Avatar",logo:"Logo",close_button:"Bouton Fermer",right_arrow:"Flèche Droite",next:"Suivant",previous:"Précédent",whatsapp:"WhatsApp",new_message:"(1) Nouveau Message!",error_schedule_line_1:"Nous n'avons pas pu planifier votre réunion pour le moment 😥",error_schedule_line_2:"Veuillez contacter notre équipe s'il vous plaît",scheduled_sucessfuly:"Planification réussie",privacy_policy_leadster:"En cliquant ci-dessus, vous acceptez nos | Politiques de confidentialité",privacy_policy_website:"En cliquant ci-dessus, vous acceptez les Politiques de confidentialité de ce |site| et de | Leadster",leadster_ai:{"input-placeholder":"Quelle est votre question?...",default_end_conversation_label:"Parler à un agent",feedback_error:"Veuillez réessayer plus tard. Je travaille pour corriger cela et revenir à vous répondre",see_product:"Voir le produit",disconnected_by_idle_timeout:{message_01:"En raison de l'inactivité, nous mettons fin à l'assistance",message_02:"Si vous souhaitez redémarrer le chat, veuillez cliquer sur le bouton ci-dessous"},thumbs_up:"Réponse satisfaisante",thumbs_down:"Réponse insatisfaisante"},wrong_messages:{phone:"Désolé, je n'ai pas compris votre téléphone.",email:"Désolé, je n'ai pas compris votre email.",email_corp:"Veuillez fournir une adresse email professionnelle valide.","unique-leadster-email":"Désolé, cet email est déjà enregistré dans notre système, veuillez vous connecter ou récupérer votre mot de passe.",birthday:"Désolé, je n'ai pas compris votre date de naissance. JJ/MM/AAAA",cpf:"Désolé, je n'ai pas compris votre CPF.",url:"Désolé, je n'ai pas compris votre URL.",cep:"Désolé, je n'ai pas compris votre code postal.","cpf/cnpj":"Désolé, je n'ai pas compris votre CPF/CNPJ.",cnpj:"Désolé, je n'ai pas compris votre CNPJ.",real:"Désolé, je n'ai pas compris votre valeur.",dollar:"Désolé, je n'ai pas compris votre valeur.",euro:"Désolé, je n'ai pas compris votre valeur.","state-and-city":"Désolé, je n'ai pas compris votre réponse. Peut-être qu'un accent est manquant.",default:"Désolé, je n'ai pas compris votre réponse.",max_length:"Désolé, le texte a dépassé la limite de caractères.",error_request:"Une erreur s'est produite. Veuillez réessayer plus tard."},day:"Jour",night:"Nuit",date_preposition:"",days:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],recommendation_response:"Nous avons sélectionné des produits incroyables pour vous ! Juste un rappel : les prix peuvent changer en raison de nos promotions imbattables.",recommendation_not_found:"Oups, je n'ai rien trouvé avec ces spécifications. Vous pouvez me donner plus de détails ou essayer un autre produit."}}},756:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(601),o=n.n(i),a=n(314),r=n.n(a)()(o());r.push([t.id,".nld-chatbot .nld-calendar {\n width: 330px;\n max-width: 100%;\n background-color: #fff;\n color: #222;\n font-family: Arial, Helvetica, sans-serif;\n }\n\n.nld-chatbot .nld-calendar,\n.nld-chatbot .nld-calendar *,\n.nld-chatbot .nld-calendar *:before,\n.nld-chatbot .nld-calendar *:after {\n -moz-box-sizing: border-box;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.nld-chatbot .nld-calendar button {\n margin: 0;\n border: 0;\n outline: none;\n}\n.nld-chatbot .nld-calendar button:enabled:hover {\n cursor: pointer;\n}\n\n.nld-chatbot .nld-calendar > .calendar-row {\n width: 100%;\n text-align: center;\n}\n\n.nld-chatbot .nld-calendar .calendar-prev {\n float: left;\n padding-left: 36px;\n\n cursor: pointer;\n\n width: 16px;\n height: 16px;\n\n background-size: 16px;\n\n font-weight: bold!important;\n color: #2F6FEA;\n}\n\n.nld-chatbot .nld-calendar .calendar-next {\n float: right;\n padding-right: 36px;\n\n cursor: pointer;\n\n width: 16px;\n height: 16px;\n\n background-size: 16px;\n font-weight: bold!important;\n color: #2F6FEA;\n}\n\n.calendar-prev.disabled,\n.calendar-next.disabled {\n cursor: not-allowed!important;\n pointer-events: none;\n}\n\n.nld-chatbot .nld-calendar .calendar-cell {\n box-sizing: content-box;\n display: inline-block;\n width: 14%;\n padding: 0.7em 0;\n text-align: center;\n cursor: pointer;\n user-select: none;\n position: relative;\n}\n\n.nld-chatbot .calendar-cell.calendar-this-month {\n font-weight: bold!important;\n color: #2F6FEA;\n}\n\n.nld-chatbot .calendar-cell.calendar-disabled {\n font-weight: 100 !important;\n background-color: #ffffff !important;\n color: #bbb !important;\n cursor: not-allowed !important;\n}\n\n.nld-chatbot .calendar-cell.calendar-next-month {\n color: #bbb;\n}\n\n.nld-chatbot .calendar-cell.calendar-prev-month {\n color: #bbb;\n}\n\n.nld-chatbot .calendar-cell.calendar-selected {\n background: #A1C5F7;\n border-radius: 20px;\n font-weight: bold!important;\n color: #2F6FEA!important;\n}\n\n.nld-chatbot .calendar-row.calendar-title {\n background: #f8f8fa;\n}\n\n.nld-chatbot .calendar-row.calendar-title>.calendar-cell {\n padding: .3em 0;\n color: #222;\n}\n\n.nld-chatbot .calendar-row.nld-calendar-header {\n font-weight: bold!important;\n color: #555 !important;\n vertical-align: middle;\n}\n\n.nld-chatbot .calendar-row.nld-calendar-header>.nld-calendar-header {\n padding: .8em 0;\n}\n",""]);const s=r},204:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(601),o=n.n(i),a=n(314),r=n.n(a)()(o());r.push([t.id,".nld-input-block-container, .nld-loading-container {\n display: block;\n height: 65px\n}\n\n.input-custom-nld, .loading-custom-nld {\n position: fixed!important;\n bottom: -6px!important;\n width: 100%;\n}\n\n.nld-chatbot .nld-loading {\n position: absolute;\n left: 50% !important;\n bottom: 50% !important;\n right: 0;\n bottom: 16px;\n height: 20px !important;\n width: 20px !important;\n border-radius: 0 0 8px 8px !important;\n}\n\n.nld-skip-message {\n bottom: 120px !important;\n}\n",""]);const s=r},214:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(601),o=n.n(i),a=n(314),r=n.n(a)()(o());r.push([t.id,'.nld-chatbot .countries_list_btn {\n border: none;\n cursor: pointer;\n display: flex;\n align-items: center;\n position: absolute;\n outline: none;\n height: 30px;\n bottom: 6px;\n left: 24px;\n padding: 2px 2px!important;\n background-color: transparent !important;\n border-color: transparent !important;\n}\n\n.nld-chatbot .countries_list_btn:focus{\n outline-style: none;\n padding: 2px 2px !important;\n}\n\n.nld-chatbot .countriesList {\n position: relative;\n display: inline-block;\n}\n\n.nld-chatbot .countries_list_content {\n display: none;\n position: absolute;\n z-index: 1;\n height: 350px;\n overflow: auto;\n background-color: #fff;\n bottom: 50px;\n left: 15px;\n right: 15px;\n border: solid 2px;\n border-radius: 10px;\n}\n\n\n.nld-chatbot .countries_list_content a {\n color: black;\n padding: 0px 10px;\n text-decoration: none;\n cursor: pointer;\n display: block;\n}\n\n.nld-chatbot .countries_list_content a:hover {background-color: #f1f1f1}\n\n.nld-chatbot .countriesList:hover .countries_list_content {\n display: block;\n}\n\n.nld-chatbot .arrow {\n border: solid gray;\n border-width: 0 2px 2px 0;\n display: inline-block;\n padding: 2px;\n}\n\n.nld-chatbot .down {\n transform: rotate(45deg);\n -webkit-transform: rotate(45deg);\n margin: 5px;\n}\n\n.nld-chatbot .telinput {\n border: 0;\n}\n\n.nld-chatbot .telinput:focus{\n outline: none;\n}\n\n.nld-chatbot .tel {\n align-items: center;\n border: solid 1px grey;\n width: fit-content;\n}\n\n.nld-chatbot .iti {\n position: relative;\n display: inline-block;\n}\n\n.nld-chatbot .iti * {\n box-sizing: border-box;\n -moz-box-sizing: border-box;\n}\n\n.nld-chatbot .iti__flag-box {\n margin-right: 10px;\n}\n\n.nld-chatbot .iti__dial-code {\n color: #999;\n}\n\n.nld-chatbot .iti__flag-country {\n display: flex;\n align-items: center;\n padding: 5px 0px;\n}\n\n.nld-chatbot .iti__dial-code {\n padding-left: 10px;\n}\n\n.nld-chatbot .iti__flag {\n width: 20px;\n}\n\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\n .nld-chatbot .iti__flag {\n background-size: 5652px 15px;\n }\n}\n\n.nld-chatbot .iti__flag.iti__be {\n width: 18px; }\n.nld-chatbot .iti__flag.iti__ch {\n width: 15px; }\n.nld-chatbot .iti__flag.iti__mc {\n width: 19px; }\n.nld-chatbot .iti__flag.iti__ne {\n width: 18px; }\n.nld-chatbot .iti__flag.iti__np {\n width: 13px; }\n.nld-chatbot .iti__flag.iti__va {\n width: 15px; }\n.nld-chatbot .iti__flag.iti__ac {\n height: 10px;\n background-position: 0px 0px; }\n.nld-chatbot .iti__flag.iti__ad {\n height: 14px;\n background-position: -22px 0px; }\n.nld-chatbot .iti__flag.iti__ae {\n height: 10px;\n background-position: -44px 0px; }\n.nld-chatbot .iti__flag.iti__af {\n height: 14px;\n background-position: -66px 0px; }\n.nld-chatbot .iti__flag.iti__ag {\n height: 14px;\n background-position: -88px 0px; }\n.nld-chatbot .iti__flag.iti__ai {\n height: 10px;\n background-position: -110px 0px; }\n.nld-chatbot .iti__flag.iti__al {\n height: 15px;\n background-position: -132px 0px; }\n.nld-chatbot .iti__flag.iti__am {\n height: 10px;\n background-position: -154px 0px; }\n.nld-chatbot .iti__flag.iti__ao {\n height: 14px;\n background-position: -176px 0px; }\n.nld-chatbot .iti__flag.iti__aq {\n height: 14px;\n background-position: -198px 0px; }\n.nld-chatbot .iti__flag.iti__ar {\n height: 13px;\n background-position: -220px 0px; }\n.nld-chatbot .iti__flag.iti__as {\n height: 10px;\n background-position: -242px 0px; }\n.nld-chatbot .iti__flag.iti__at {\n height: 14px;\n background-position: -264px 0px; }\n.nld-chatbot .iti__flag.iti__au {\n height: 10px;\n background-position: -286px 0px; }\n.nld-chatbot .iti__flag.iti__aw {\n height: 14px;\n background-position: -308px 0px; }\n.nld-chatbot .iti__flag.iti__ax {\n height: 13px;\n background-position: -330px 0px; }\n.nld-chatbot .iti__flag.iti__az {\n height: 10px;\n background-position: -352px 0px; }\n.nld-chatbot .iti__flag.iti__ba {\n height: 10px;\n background-position: -374px 0px; }\n.nld-chatbot .iti__flag.iti__bb {\n height: 14px;\n background-position: -396px 0px; }\n.nld-chatbot .iti__flag.iti__bd {\n height: 12px;\n background-position: -418px 0px; }\n.nld-chatbot .iti__flag.iti__be {\n height: 15px;\n background-position: -440px 0px; }\n.nld-chatbot .iti__flag.iti__bf {\n height: 14px;\n background-position: -460px 0px; }\n.nld-chatbot .iti__flag.iti__bg {\n height: 12px;\n background-position: -482px 0px; }\n.nld-chatbot .iti__flag.iti__bh {\n height: 12px;\n background-position: -504px 0px; }\n.nld-chatbot .iti__flag.iti__bi {\n height: 12px;\n background-position: -526px 0px; }\n.nld-chatbot .iti__flag.iti__bj {\n height: 14px;\n background-position: -548px 0px; }\n.nld-chatbot .iti__flag.iti__bl {\n height: 14px;\n background-position: -570px 0px; }\n.nld-chatbot .iti__flag.iti__bm {\n height: 10px;\n background-position: -592px 0px; }\n.nld-chatbot .iti__flag.iti__bn {\n height: 10px;\n background-position: -614px 0px; }\n.nld-chatbot .iti__flag.iti__bo {\n height: 14px;\n background-position: -636px 0px; }\n.nld-chatbot .iti__flag.iti__bq {\n height: 14px;\n background-position: -658px 0px; }\n.nld-chatbot .iti__flag.iti__br {\n height: 14px;\n background-position: -680px 0px; }\n.nld-chatbot .iti__flag.iti__bs {\n height: 10px;\n background-position: -702px 0px; }\n.nld-chatbot .iti__flag.iti__bt {\n height: 14px;\n background-position: -724px 0px; }\n.nld-chatbot .iti__flag.iti__bv {\n height: 15px;\n background-position: -746px 0px; }\n.nld-chatbot .iti__flag.iti__bw {\n height: 14px;\n background-position: -768px 0px; }\n.nld-chatbot .iti__flag.iti__by {\n height: 10px;\n background-position: -790px 0px; }\n.nld-chatbot .iti__flag.iti__bz {\n height: 14px;\n background-position: -812px 0px; }\n.nld-chatbot .iti__flag.iti__ca {\n height: 10px;\n background-position: -834px 0px; }\n.nld-chatbot .iti__flag.iti__cc {\n height: 10px;\n background-position: -856px 0px; }\n.nld-chatbot .iti__flag.iti__cd {\n height: 15px;\n background-position: -878px 0px; }\n.nld-chatbot .iti__flag.iti__cf {\n height: 14px;\n background-position: -900px 0px; }\n.nld-chatbot .iti__flag.iti__cg {\n height: 14px;\n background-position: -922px 0px; }\n.nld-chatbot .iti__flag.iti__ch {\n height: 15px;\n background-position: -944px 0px; }\n.nld-chatbot .iti__flag.iti__ci {\n height: 14px;\n background-position: -961px 0px; }\n.nld-chatbot .iti__flag.iti__ck {\n height: 10px;\n background-position: -983px 0px; }\n.nld-chatbot .iti__flag.iti__cl {\n height: 14px;\n background-position: -1005px 0px; }\n.nld-chatbot .iti__flag.iti__cm {\n height: 14px;\n background-position: -1027px 0px; }\n.nld-chatbot .iti__flag.iti__cn {\n height: 14px;\n background-position: -1049px 0px; }\n.nld-chatbot .iti__flag.iti__co {\n height: 14px;\n background-position: -1071px 0px; }\n.nld-chatbot .iti__flag.iti__cp {\n height: 14px;\n background-position: -1093px 0px; }\n.nld-chatbot .iti__flag.iti__cr {\n height: 12px;\n background-position: -1115px 0px; }\n.nld-chatbot .iti__flag.iti__cu {\n height: 10px;\n background-position: -1137px 0px; }\n.nld-chatbot .iti__flag.iti__cv {\n height: 12px;\n background-position: -1159px 0px; }\n.nld-chatbot .iti__flag.iti__cw {\n height: 14px;\n background-position: -1181px 0px; }\n.nld-chatbot .iti__flag.iti__cx {\n height: 10px;\n background-position: -1203px 0px; }\n.nld-chatbot .iti__flag.iti__cy {\n height: 14px;\n background-position: -1225px 0px; }\n.nld-chatbot .iti__flag.iti__cz {\n height: 14px;\n background-position: -1247px 0px; }\n.nld-chatbot .iti__flag.iti__de {\n height: 12px;\n background-position: -1269px 0px; }\n.nld-chatbot .iti__flag.iti__dg {\n height: 10px;\n background-position: -1291px 0px; }\n.nld-chatbot .iti__flag.iti__dj {\n height: 14px;\n background-position: -1313px 0px; }\n.nld-chatbot .iti__flag.iti__dk {\n height: 15px;\n background-position: -1335px 0px; }\n.nld-chatbot .iti__flag.iti__dm {\n height: 10px;\n background-position: -1357px 0px; }\n.nld-chatbot .iti__flag.iti__do {\n height: 14px;\n background-position: -1379px 0px; }\n.nld-chatbot .iti__flag.iti__dz {\n height: 14px;\n background-position: -1401px 0px; }\n.nld-chatbot .iti__flag.iti__ea {\n height: 14px;\n background-position: -1423px 0px; }\n.nld-chatbot .iti__flag.iti__ec {\n height: 14px;\n background-position: -1445px 0px; }\n.nld-chatbot .iti__flag.iti__ee {\n height: 13px;\n background-position: -1467px 0px; }\n.nld-chatbot .iti__flag.iti__eg {\n height: 14px;\n background-position: -1489px 0px; }\n.nld-chatbot .iti__flag.iti__eh {\n height: 10px;\n background-position: -1511px 0px; }\n.nld-chatbot .iti__flag.iti__er {\n height: 10px;\n background-position: -1533px 0px; }\n.nld-chatbot .iti__flag.iti__es {\n height: 14px;\n background-position: -1555px 0px; }\n.nld-chatbot .iti__flag.iti__et {\n height: 10px;\n background-position: -1577px 0px; }\n.nld-chatbot .iti__flag.iti__eu {\n height: 14px;\n background-position: -1599px 0px; }\n.nld-chatbot .iti__flag.iti__fi {\n height: 12px;\n background-position: -1621px 0px; }\n.nld-chatbot .iti__flag.iti__fj {\n height: 10px;\n background-position: -1643px 0px; }\n.nld-chatbot .iti__flag.iti__fk {\n height: 10px;\n background-position: -1665px 0px; }\n.nld-chatbot .iti__flag.iti__fm {\n height: 11px;\n background-position: -1687px 0px; }\n.nld-chatbot .iti__flag.iti__fo {\n height: 15px;\n background-position: -1709px 0px; }\n.nld-chatbot .iti__flag.iti__fr {\n height: 14px;\n background-position: -1731px 0px; }\n.nld-chatbot .iti__flag.iti__ga {\n height: 15px;\n background-position: -1753px 0px; }\n.nld-chatbot .iti__flag.iti__gb {\n height: 10px;\n background-position: -1775px 0px; }\n.nld-chatbot .iti__flag.iti__gd {\n height: 12px;\n background-position: -1797px 0px; }\n.nld-chatbot .iti__flag.iti__ge {\n height: 14px;\n background-position: -1819px 0px; }\n.nld-chatbot .iti__flag.iti__gf {\n height: 14px;\n background-position: -1841px 0px; }\n.nld-chatbot .iti__flag.iti__gg {\n height: 14px;\n background-position: -1863px 0px; }\n.nld-chatbot .iti__flag.iti__gh {\n height: 14px;\n background-position: -1885px 0px; }\n.nld-chatbot .iti__flag.iti__gi {\n height: 10px;\n background-position: -1907px 0px; }\n.nld-chatbot .iti__flag.iti__gl {\n height: 14px;\n background-position: -1929px 0px; }\n.nld-chatbot .iti__flag.iti__gm {\n height: 14px;\n background-position: -1951px 0px; }\n.nld-chatbot .iti__flag.iti__gn {\n height: 14px;\n background-position: -1973px 0px; }\n.nld-chatbot .iti__flag.iti__gp {\n height: 14px;\n background-position: -1995px 0px; }\n.nld-chatbot .iti__flag.iti__gq {\n height: 14px;\n background-position: -2017px 0px; }\n.nld-chatbot .iti__flag.iti__gr {\n height: 14px;\n background-position: -2039px 0px; }\n.nld-chatbot .iti__flag.iti__gs {\n height: 10px;\n background-position: -2061px 0px; }\n.nld-chatbot .iti__flag.iti__gt {\n height: 13px;\n background-position: -2083px 0px; }\n.nld-chatbot .iti__flag.iti__gu {\n height: 11px;\n background-position: -2105px 0px; }\n.nld-chatbot .iti__flag.iti__gw {\n height: 10px;\n background-position: -2127px 0px; }\n.nld-chatbot .iti__flag.iti__gy {\n height: 12px;\n background-position: -2149px 0px; }\n.nld-chatbot .iti__flag.iti__hk {\n height: 14px;\n background-position: -2171px 0px; }\n.nld-chatbot .iti__flag.iti__hm {\n height: 10px;\n background-position: -2193px 0px; }\n.nld-chatbot .iti__flag.iti__hn {\n height: 10px;\n background-position: -2215px 0px; }\n.nld-chatbot .iti__flag.iti__hr {\n height: 10px;\n background-position: -2237px 0px; }\n.nld-chatbot .iti__flag.iti__ht {\n height: 12px;\n background-position: -2259px 0px; }\n.nld-chatbot .iti__flag.iti__hu {\n height: 10px;\n background-position: -2281px 0px; }\n.nld-chatbot .iti__flag.iti__ic {\n height: 14px;\n background-position: -2303px 0px; }\n.nld-chatbot .iti__flag.iti__id {\n height: 14px;\n background-position: -2325px 0px; }\n.nld-chatbot .iti__flag.iti__ie {\n height: 10px;\n background-position: -2347px 0px; }\n.nld-chatbot .iti__flag.iti__il {\n height: 15px;\n background-position: -2369px 0px; }\n.nld-chatbot .iti__flag.iti__im {\n height: 10px;\n background-position: -2391px 0px; }\n.nld-chatbot .iti__flag.iti__in {\n height: 14px;\n background-position: -2413px 0px; }\n.nld-chatbot .iti__flag.iti__io {\n height: 10px;\n background-position: -2435px 0px; }\n.nld-chatbot .iti__flag.iti__iq {\n height: 14px;\n background-position: -2457px 0px; }\n.nld-chatbot .iti__flag.iti__ir {\n height: 12px;\n background-position: -2479px 0px; }\n.nld-chatbot .iti__flag.iti__is {\n height: 15px;\n background-position: -2501px 0px; }\n.nld-chatbot .iti__flag.iti__it {\n height: 14px;\n background-position: -2523px 0px; }\n.nld-chatbot .iti__flag.iti__je {\n height: 12px;\n background-position: -2545px 0px; }\n.nld-chatbot .iti__flag.iti__jm {\n height: 10px;\n background-position: -2567px 0px; }\n.nld-chatbot .iti__flag.iti__jo {\n height: 10px;\n background-position: -2589px 0px; }\n.nld-chatbot .iti__flag.iti__jp {\n height: 14px;\n background-position: -2611px 0px; }\n.nld-chatbot .iti__flag.iti__ke {\n height: 14px;\n background-position: -2633px 0px; }\n.nld-chatbot .iti__flag.iti__kg {\n height: 12px;\n background-position: -2655px 0px; }\n.nld-chatbot .iti__flag.iti__kh {\n height: 13px;\n background-position: -2677px 0px; }\n.nld-chatbot .iti__flag.iti__ki {\n height: 10px;\n background-position: -2699px 0px; }\n.nld-chatbot .iti__flag.iti__km {\n height: 12px;\n background-position: -2721px 0px; }\n.nld-chatbot .iti__flag.iti__kn {\n height: 14px;\n background-position: -2743px 0px; }\n.nld-chatbot .iti__flag.iti__kp {\n height: 10px;\n background-position: -2765px 0px; }\n.nld-chatbot .iti__flag.iti__kr {\n height: 14px;\n background-position: -2787px 0px; }\n.nld-chatbot .iti__flag.iti__kw {\n height: 10px;\n background-position: -2809px 0px; }\n.nld-chatbot .iti__flag.iti__ky {\n height: 10px;\n background-position: -2831px 0px; }\n.nld-chatbot .iti__flag.iti__kz {\n height: 10px;\n background-position: -2853px 0px; }\n.nld-chatbot .iti__flag.iti__la {\n height: 14px;\n background-position: -2875px 0px; }\n.nld-chatbot .iti__flag.iti__lb {\n height: 14px;\n background-position: -2897px 0px; }\n.nld-chatbot .iti__flag.iti__lc {\n height: 10px;\n background-position: -2919px 0px; }\n.nld-chatbot .iti__flag.iti__li {\n height: 12px;\n background-position: -2941px 0px; }\n.nld-chatbot .iti__flag.iti__lk {\n height: 10px;\n background-position: -2963px 0px; }\n.nld-chatbot .iti__flag.iti__lr {\n height: 11px;\n background-position: -2985px 0px; }\n.nld-chatbot .iti__flag.iti__ls {\n height: 14px;\n background-position: -3007px 0px; }\n.nld-chatbot .iti__flag.iti__lt {\n height: 12px;\n background-position: -3029px 0px; }\n.nld-chatbot .iti__flag.iti__lu {\n height: 12px;\n background-position: -3051px 0px; }\n.nld-chatbot .iti__flag.iti__lv {\n height: 10px;\n background-position: -3073px 0px; }\n.nld-chatbot .iti__flag.iti__ly {\n height: 10px;\n background-position: -3095px 0px; }\n.nld-chatbot .iti__flag.iti__ma {\n height: 14px;\n background-position: -3117px 0px; }\n.nld-chatbot .iti__flag.iti__mc {\n height: 15px;\n background-position: -3139px 0px; }\n.nld-chatbot .iti__flag.iti__md {\n height: 10px;\n background-position: -3160px 0px; }\n.nld-chatbot .iti__flag.iti__me {\n height: 10px;\n background-position: -3182px 0px; }\n.nld-chatbot .iti__flag.iti__mf {\n height: 14px;\n background-position: -3204px 0px; }\n.nld-chatbot .iti__flag.iti__mg {\n height: 14px;\n background-position: -3226px 0px; }\n.nld-chatbot .iti__flag.iti__mh {\n height: 11px;\n background-position: -3248px 0px; }\n.nld-chatbot .iti__flag.iti__mk {\n height: 10px;\n background-position: -3270px 0px; }\n.nld-chatbot .iti__flag.iti__ml {\n height: 14px;\n background-position: -3292px 0px; }\n.nld-chatbot .iti__flag.iti__mm {\n height: 14px;\n background-position: -3314px 0px; }\n.nld-chatbot .iti__flag.iti__mn {\n height: 10px;\n background-position: -3336px 0px; }\n.nld-chatbot .iti__flag.iti__mo {\n height: 14px;\n background-position: -3358px 0px; }\n.nld-chatbot .iti__flag.iti__mp {\n height: 10px;\n background-position: -3380px 0px; }\n.nld-chatbot .iti__flag.iti__mq {\n height: 14px;\n background-position: -3402px 0px; }\n.nld-chatbot .iti__flag.iti__mr {\n height: 14px;\n background-position: -3424px 0px; }\n.nld-chatbot .iti__flag.iti__ms {\n height: 10px;\n background-position: -3446px 0px; }\n.nld-chatbot .iti__flag.iti__mt {\n height: 14px;\n background-position: -3468px 0px; }\n.nld-chatbot .iti__flag.iti__mu {\n height: 14px;\n background-position: -3490px 0px; }\n.nld-chatbot .iti__flag.iti__mv {\n height: 14px;\n background-position: -3512px 0px; }\n.nld-chatbot .iti__flag.iti__mw {\n height: 14px;\n background-position: -3534px 0px; }\n.nld-chatbot .iti__flag.iti__mx {\n height: 12px;\n background-position: -3556px 0px; }\n.nld-chatbot .iti__flag.iti__my {\n height: 10px;\n background-position: -3578px 0px; }\n.nld-chatbot .iti__flag.iti__mz {\n height: 14px;\n background-position: -3600px 0px; }\n.nld-chatbot .iti__flag.iti__na {\n height: 14px;\n background-position: -3622px 0px; }\n.nld-chatbot .iti__flag.iti__nc {\n height: 10px;\n background-position: -3644px 0px; }\n.nld-chatbot .iti__flag.iti__ne {\n height: 15px;\n background-position: -3666px 0px; }\n.nld-chatbot .iti__flag.iti__nf {\n height: 10px;\n background-position: -3686px 0px; }\n.nld-chatbot .iti__flag.iti__ng {\n height: 10px;\n background-position: -3708px 0px; }\n.nld-chatbot .iti__flag.iti__ni {\n height: 12px;\n background-position: -3730px 0px; }\n.nld-chatbot .iti__flag.iti__nl {\n height: 14px;\n background-position: -3752px 0px; }\n.nld-chatbot .iti__flag.iti__no {\n height: 15px;\n background-position: -3774px 0px; }\n.nld-chatbot .iti__flag.iti__np {\n height: 15px;\n background-position: -3796px 0px; }\n.nld-chatbot .iti__flag.iti__nr {\n height: 10px;\n background-position: -3811px 0px; }\n.nld-chatbot .iti__flag.iti__nu {\n height: 10px;\n background-position: -3833px 0px; }\n.nld-chatbot .iti__flag.iti__nz {\n height: 10px;\n background-position: -3855px 0px; }\n.nld-chatbot .iti__flag.iti__om {\n height: 10px;\n background-position: -3877px 0px; }\n.nld-chatbot .iti__flag.iti__pa {\n height: 14px;\n background-position: -3899px 0px; }\n.nld-chatbot .iti__flag.iti__pe {\n height: 14px;\n background-position: -3921px 0px; }\n.nld-chatbot .iti__flag.iti__pf {\n height: 14px;\n background-position: -3943px 0px; }\n.nld-chatbot .iti__flag.iti__pg {\n height: 15px;\n background-position: -3965px 0px; }\n.nld-chatbot .iti__flag.iti__ph {\n height: 10px;\n background-position: -3987px 0px; }\n.nld-chatbot .iti__flag.iti__pk {\n height: 14px;\n background-position: -4009px 0px; }\n.nld-chatbot .iti__flag.iti__pl {\n height: 13px;\n background-position: -4031px 0px; }\n.nld-chatbot .iti__flag.iti__pm {\n height: 14px;\n background-position: -4053px 0px; }\n.nld-chatbot .iti__flag.iti__pn {\n height: 10px;\n background-position: -4075px 0px; }\n.nld-chatbot .iti__flag.iti__pr {\n height: 14px;\n background-position: -4097px 0px; }\n.nld-chatbot .iti__flag.iti__ps {\n height: 10px;\n background-position: -4119px 0px; }\n.nld-chatbot .iti__flag.iti__pt {\n height: 14px;\n background-position: -4141px 0px; }\n.nld-chatbot .iti__flag.iti__pw {\n height: 13px;\n background-position: -4163px 0px; }\n.nld-chatbot .iti__flag.iti__py {\n height: 11px;\n background-position: -4185px 0px; }\n.nld-chatbot .iti__flag.iti__qa {\n height: 8px;\n background-position: -4207px 0px; }\n.nld-chatbot .iti__flag.iti__re {\n height: 14px;\n background-position: -4229px 0px; }\n.nld-chatbot .iti__flag.iti__ro {\n height: 14px;\n background-position: -4251px 0px; }\n.nld-chatbot .iti__flag.iti__rs {\n height: 14px;\n background-position: -4273px 0px; }\n.nld-chatbot .iti__flag.iti__ru {\n height: 14px;\n background-position: -4295px 0px; }\n.nld-chatbot .iti__flag.iti__rw {\n height: 14px;\n background-position: -4317px 0px; }\n.nld-chatbot .iti__flag.iti__sa {\n height: 14px;\n background-position: -4339px 0px; }\n.nld-chatbot .iti__flag.iti__sb {\n height: 10px;\n background-position: -4361px 0px; }\n.nld-chatbot .iti__flag.iti__sc {\n height: 10px;\n background-position: -4383px 0px; }\n.nld-chatbot .iti__flag.iti__sd {\n height: 10px;\n background-position: -4405px 0px; }\n.nld-chatbot .iti__flag.iti__se {\n height: 13px;\n background-position: -4427px 0px; }\n.nld-chatbot .iti__flag.iti__sg {\n height: 14px;\n background-position: -4449px 0px; }\n.nld-chatbot .iti__flag.iti__sh {\n height: 10px;\n background-position: -4471px 0px; }\n.nld-chatbot .iti__flag.iti__si {\n height: 10px;\n background-position: -4493px 0px; }\n.nld-chatbot .iti__flag.iti__sj {\n height: 15px;\n background-position: -4515px 0px; }\n.nld-chatbot .iti__flag.iti__sk {\n height: 14px;\n background-position: -4537px 0px; }\n.nld-chatbot .iti__flag.iti__sl {\n height: 14px;\n background-position: -4559px 0px; }\n.nld-chatbot .iti__flag.iti__sm {\n height: 15px;\n background-position: -4581px 0px; }\n.nld-chatbot .iti__flag.iti__sn {\n height: 14px;\n background-position: -4603px 0px; }\n.nld-chatbot .iti__flag.iti__so {\n height: 14px;\n background-position: -4625px 0px; }\n.nld-chatbot .iti__flag.iti__sr {\n height: 14px;\n background-position: -4647px 0px; }\n.nld-chatbot .iti__flag.iti__ss {\n height: 10px;\n background-position: -4669px 0px; }\n.nld-chatbot .iti__flag.iti__st {\n height: 10px;\n background-position: -4691px 0px; }\n.nld-chatbot .iti__flag.iti__sv {\n height: 12px;\n background-position: -4713px 0px; }\n.nld-chatbot .iti__flag.iti__sx {\n height: 14px;\n background-position: -4735px 0px; }\n.nld-chatbot .iti__flag.iti__sy {\n height: 14px;\n background-position: -4757px 0px; }\n.nld-chatbot .iti__flag.iti__sz {\n height: 14px;\n background-position: -4779px 0px; }\n.nld-chatbot .iti__flag.iti__ta {\n height: 10px;\n background-position: -4801px 0px; }\n.nld-chatbot .iti__flag.iti__tc {\n height: 10px;\n background-position: -4823px 0px; }\n.nld-chatbot .iti__flag.iti__td {\n height: 14px;\n background-position: -4845px 0px; }\n.nld-chatbot .iti__flag.iti__tf {\n height: 14px;\n background-position: -4867px 0px; }\n.nld-chatbot .iti__flag.iti__tg {\n height: 13px;\n background-position: -4889px 0px; }\n.nld-chatbot .iti__flag.iti__th {\n height: 14px;\n background-position: -4911px 0px; }\n.nld-chatbot .iti__flag.iti__tj {\n height: 10px;\n background-position: -4933px 0px; }\n.nld-chatbot .iti__flag.iti__tk {\n height: 10px;\n background-position: -4955px 0px; }\n.nld-chatbot .iti__flag.iti__tl {\n height: 10px;\n background-position: -4977px 0px; }\n.nld-chatbot .iti__flag.iti__tm {\n height: 14px;\n background-position: -4999px 0px; }\n.nld-chatbot .iti__flag.iti__tn {\n height: 14px;\n background-position: -5021px 0px; }\n.nld-chatbot .iti__flag.iti__to {\n height: 10px;\n background-position: -5043px 0px; }\n.nld-chatbot .iti__flag.iti__tr {\n height: 14px;\n background-position: -5065px 0px; }\n.nld-chatbot .iti__flag.iti__tt {\n height: 12px;\n background-position: -5087px 0px; }\n.nld-chatbot .iti__flag.iti__tv {\n height: 10px;\n background-position: -5109px 0px; }\n.nld-chatbot .iti__flag.iti__tw {\n height: 14px;\n background-position: -5131px 0px; }\n.nld-chatbot .iti__flag.iti__tz {\n height: 14px;\n background-position: -5153px 0px; }\n.nld-chatbot .iti__flag.iti__ua {\n height: 14px;\n background-position: -5175px 0px; }\n.nld-chatbot .iti__flag.iti__ug {\n height: 14px;\n background-position: -5197px 0px; }\n.nld-chatbot .iti__flag.iti__um {\n height: 11px;\n background-position: -5219px 0px; }\n.nld-chatbot .iti__flag.iti__un {\n height: 14px;\n background-position: -5241px 0px; }\n.nld-chatbot .iti__flag.iti__us {\n height: 11px;\n background-position: -5263px 0px; }\n.nld-chatbot .iti__flag.iti__uy {\n height: 14px;\n background-position: -5285px 0px; }\n.nld-chatbot .iti__flag.iti__uz {\n height: 10px;\n background-position: -5307px 0px; }\n.nld-chatbot .iti__flag.iti__va {\n height: 15px;\n background-position: -5329px 0px; }\n.nld-chatbot .iti__flag.iti__vc {\n height: 14px;\n background-position: -5346px 0px; }\n.nld-chatbot .iti__flag.iti__ve {\n height: 14px;\n background-position: -5368px 0px; }\n.nld-chatbot .iti__flag.iti__vg {\n height: 10px;\n background-position: -5390px 0px; }\n.nld-chatbot .iti__flag.iti__vi {\n height: 14px;\n background-position: -5412px 0px; }\n.nld-chatbot .iti__flag.iti__vn {\n height: 14px;\n background-position: -5434px 0px; }\n.nld-chatbot .iti__flag.iti__vu {\n height: 12px;\n background-position: -5456px 0px; }\n.nld-chatbot .iti__flag.iti__wf {\n height: 14px;\n background-position: -5478px 0px; }\n.nld-chatbot .iti__flag.iti__ws {\n height: 10px;\n background-position: -5500px 0px; }\n.nld-chatbot .iti__flag.iti__xk {\n height: 15px;\n background-position: -5522px 0px; }\n.nld-chatbot .iti__flag.iti__ye {\n height: 14px;\n background-position: -5544px 0px; }\n.nld-chatbot .iti__flag.iti__yt {\n height: 14px;\n background-position: -5566px 0px; }\n.nld-chatbot .iti__flag.iti__za {\n height: 14px;\n background-position: -5588px 0px; }\n.nld-chatbot .iti__flag.iti__zm {\n height: 14px;\n background-position: -5610px 0px; }\n.nld-chatbot .iti__flag.iti__zw {\n height: 10px;\n background-position: -5632px 0px; }\n\n.nld-chatbot .iti__flag {\n height: 15px;\n box-shadow: 0px 0px 1px 0px #888;\n background-image: url("https://cdn.leadster.com.br/leadster/app/image/flags.png");\n background-repeat: no-repeat;\n background-color: #DBDBDB;\n background-position: 20px 0;\n}\n\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\n .nld-chatbot .iti__flag {\n background-image: url("https://cdn.leadster.com.br/leadster/app/image/flags@2x.png");\n }\n}\n\n\n.nld-chatbot .iti__flag.iti__np {\n background-color: transparent; }\n',""]);const s=r},575:(t,e,n)=>{"use strict";n.d(e,{A:()=>y});var i=n(601),o=n.n(i),a=n(314),r=n.n(a),s=n(417),l=n.n(s),c=new URL(n(99),n.b),d=new URL(n(695),n.b),u=new URL(n(720),n.b),h=new URL(n(881),n.b),p=new URL(n(996),n.b),g=r()(o()),m=l()(c),f=l()(d),b=l()(u),_=l()(h),v=l()(p);g.push([t.id,`/* Icons */\n\n@font-face {\n font-family: neurolead;\n src: url(${m});\n}\n\n@font-face {\n font-family: 'Open Sans Regular';\n font-style: normal;\n font-weight: 400;\n src: local('Open Sans Regular'), local('OpenSans-Regular');\n}\n\n.nld-icon {\n font-family: neurolead !important;\n}\n\n/* Animations */\n\n@keyframes nld-fade-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes nld-pop-in {\n from {\n opacity: 0;\n transform: scale(0, 0);\n }\n to {\n opacity: 1;\n transform: scale(1, 1);\n }\n}\n\n@keyframes nld-super-pop-in {\n 0% {\n opacity: 0;\n transform: scale(0, 0);\n }\n 30% {\n opacity: 1;\n background-color: white;\n transform: scale(1.5, 1.5);\n }\n 80% {\n transform: scale(1, 1);\n }\n 100% {\n opacity: 1;\n transform: scale(1, 1);\n }\n}\n\n@keyframes nld-pop-in-middle {\n from {\n opacity: 0;\n transform: translateY(-50%) scale(0, 0);\n }\n to {\n opacity: 1;\n transform: translateY(-50%) scale(1, 1);\n }\n}\n\n@keyframes nld-pop-out {\n from {\n opacity: 1;\n transform: scale(1, 1);\n }\n to {\n opacity: 0;\n transform: scale(0, 0);\n }\n}\n\n@keyframes nld-slide-in {\n from {\n display: block;\n opacity: 0;\n transform: translate(0, 100px);\n }\n to {\n opacity: 1;\n transform: translate(0, 0);\n }\n}\n\n@keyframes nld-slide-out {\n from {\n opacity: 1;\n transform: translate(0, 0);\n }\n to {\n display: none;\n opacity: 0;\n transform: translate(0, 100px);\n }\n}\n\n@keyframes nld-slide-out-up {\n from {\n opacity: 1;\n transform: translate(0, 0);\n }\n to {\n display: none;\n opacity: 0;\n height: 0;\n overflow: hidden;\n transform: translate(0, -100px);\n }\n}\n\n@keyframes nld-blink {\n 50% {\n opacity: 1;\n transform: scale(0.5);\n }\n}\n\n/* Elements */\n\n#nld-custom-container {\n position: relative !important;\n}\n\n.nld-chatbot * {\n position: initial;\n}\n\n.nld-chatbot {\n color: inherit;\n font: inherit;\n font-family: 'Helvetica Neue', 'Neue Helvetica W01', Helvetica, Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Roboto, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;\n box-sizing: content-box;\n}\n\n.nld-chatbot * {\n font: inherit !important;\n color: inherit;\n margin: initial;\n box-sizing: content-box !important;\n}\n\n.nld-chatbot b {\n font-weight: bold !important;\n}\n\n.nld-chatbot i {\n font-style: italic !important;\n}\n\n.nld-chatbot strong {\n display: initial !important;\n font-weight: bold !important;\n}\n\n.nld-chatbot p {\n color: #555 !important;\n text-align: left !important;\n padding: 0px !important;\n margin: 0px !important;\n}\n\n.nld-chatbot {\n all: initial;\n font-size: initial;\n\n position: absolute;\n z-index: 9999999999;\n\n top: 0;\n left: 0;\n}\n\n#nld-event-bus {\n display: none !important;\n}\n\n.nld-chatbot > .nld-avatar {\n /* Form */\n width: 60px;\n height: 60px;\n border-radius: 30px !important;\n\n /* Position */\n display: inline-block;\n position: fixed;\n z-index: 32767;\n\n bottom: 24px;\n right: 18px;\n\n vertical-align: middle;\n\n /* Looks */\n background-size: cover;\n box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.15);\n\n /* Typography */\n font-size: 16px !important;\n}\n\n.nld-chatbot > .nld-avatar:hover {\n box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n}\n\n.nld-chatbot .nld-avatar::after {\n content: '';\n\n /* Form */\n width: 15px;\n height: 15px;\n border-radius: 9px !important;\n\n /* Position */\n position: absolute;\n bottom: 0;\n right: 0;\n\n /* Looks */\n background-color: #2ecc71;\n\n animation: nld-super-pop-in 0.5s cubic-bezier(0, 0.35, 0.28, 0.9) forwards;\n animation-delay: 1s;\n\n transform: scale(0, 0);\n}\n\n.nld-chatbot .nld-clear {\n clear: both;\n}\n\n.nld-chatbot .nld-invite-message-container {\n float: right;\n max-width: 269px;\n width: max-content;\n margin-right: 8px;\n margin-top: 0;\n\n display: flex;\n align-items: center;\n}\n\n.nld-chatbot .nld-chatbot-invite-container {\n right: 72px;\n\n top: 50%;\n transform: translateY(-50%);\n\n width: 305px;\n\n position: absolute;\n}\n\n.nld-chatbot .nld-chatbot-invite-message {\n position: relative;\n float: right;\n\n border-radius: 8px !important;\n padding: 9px;\n padding-left: 17px;\n box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.25);\n border: 1px solid #d6d6d6;\n color: #555 !important;\n background: white;\n line-height: 1.5em !important;\n font-family: 'Helvetica Neue', 'Neue Helvetica W01', Helvetica, Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Roboto, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif !important;\n font-size: 16px !important;\n}\n\n.nld-chatbot .nld-invite-message-text {\n font-family: 'Helvetica Neue', 'Neue Helvetica W01', Helvetica, Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Roboto, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif !important;\n}\n\n.nld-chatbot .nld-invite-message-text strong {\n font-weight: bold !important;\n}\n\n.nld-chatbot .nld-invite-message-text em {\n font-style: italic !important;\n}\n\n.nld-chatbot .nld-invite-message-text p {\n margin-bottom: 0 !important;\n}\n\n.nld-chatbot .nld-chatbot-invite-message::after {\n content: '';\n\n /* Form */\n width: 16px;\n height: 32px;\n\n /* Position */\n position: absolute;\n top: 50%;\n margin-top: -16px;\n right: -16px;\n\n /* Looks */\n background-image: url(${f});\n background-size: 32px 32px;\n}\n\n.nld-chatbot .nld-conversation {\n /* Form */\n width: 420px;\n max-height: 370px;\n min-height: 300px;\n height: calc(100vh - 72px);\n border-radius: 12px !important;\n\n /* Position */\n z-index: 32767;\n position: fixed;\n bottom: 48px;\n right: 24px;\n\n /* Looks */\n background: white;\n box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.15);\n}\n\n.nld-chatbot .nld-bg {\n position: absolute;\n\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n border-radius: 8px !important;\n\n background: white;\n}\n\n.nld-chatbot .nld-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 32760;\n transition: opacity 0.15s linear;\n}\n\n/* Modal Mode */\n.nld-chatbot.nld-fullscreen .nld-avatar {\n bottom: 48px !important;\n}\n\n.nld-chatbot.nld-fullscreen .nld-conversation {\n border-radius: 0 !important;\n}\n\n.nld-chatbot.nld-fullscreen .nld-conversation-header {\n border-radius: 0 !important;\n}\n\n.nld-chatbot.nld-fullscreen .nld-brand-footer {\n display: none !important;\n}\n\n.nld-chatbot.nld-fullscreen .nld-conversation,\n.nld-chatbot.nld-fullscreen.nld-left .nld-conversation,\n.nld-chatbot.nld-fullscreen.nld-right .nld-conversation {\n width: auto;\n height: auto;\n max-height: none !important;\n min-height: none !important;\n\n position: fixed;\n\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n\n z-index: 32767;\n}\n\n.nld-chatbot.nld-fullscreen .nld-invite-message-text {\n max-width: 200px;\n max-width: calc(100vw - 138px);\n}\n\n/* Pop Up Mode */\n.nld-chatbot.nld-pop-up .nld-conversation {\n top: 50% !important;\n left: 50% !important;\n transform: translate(-50%, -50%) !important;\n width: 100% !important;\n max-width: 720px !important;\n /* height: auto !important; */\n max-height: 60vh !important;\n}\n\n.nld-chatbot.nld-fullscreen .nld-ctx>div>.nld-container, .nld-ctx>div>.nld-overlay {\n top: 72px;\n border-radius: 0 !important;\n}\n\n.nld-chatbot.nld-fullscreen .nld-close-white {\n display: block;\n}\n\n.nld-chatbot.nld-fullscreen .nld-close-black {\n display: none;\n}\n\n.nld-chatbot.nld-fullscreen .nld-input>input {\n font-size: 1.1em;\n}\n\n.nld-chatbot.nld-fullscreen .nld-msg .nld-bubble {\n font-size: 1em;\n}\n\n.nld-chatbot .nld-conversation.nld-full {\n max-height: 550px;\n transition: max-height 0.5s ease-in-out;\n}\n\n.nld-chatbot .nld-conversation > .nld-ctx {\n position: absolute;\n top: 0px;\n bottom: 0px;\n left: 0;\n right: 0;\n\n border-radius: 8px !important;\n}\n\n.nld-chatbot .nld-typing-indicator {\n width: 54px;\n\n display: inline-block;\n vertical-align: middle;\n}\n\n.nld-chatbot .nld-typing-indicator > span {\n width: 12px;\n height: 12px;\n border-radius: 6px !important;\n\n margin-right: 6px;\n\n float: left;\n\n opacity: 0.5;\n\n background: #2ecc71;\n}\n\n.nld-chatbot .nld-typing-indicator > span:nth-child(1) {\n animation: 1s nld-blink infinite 0.1666s;\n}\n\n.nld-chatbot .nld-typing-indicator > span:nth-child(2) {\n animation: 1s nld-blink infinite 0.3332s;\n}\n\n.nld-chatbot .nld-typing-indicator > span:nth-child(3) {\n animation: 1s nld-blink infinite 0.5s;\n}\n\n/* States */\n\n.nld-nodisplay {\n display: none !important;\n}\n\n.nld-chatbot .nld-hidden {\n /* Animations */\n animation-name: nld-pop-out;\n animation-duration: 0.3s;\n animation-fill-mode: forwards;\n}\n\n.nld-chatbot .nld-shown {\n /* Animations */\n animation-name: nld-pop-in;\n animation-duration: 0.3s;\n animation-fill-mode: forwards;\n}\n\n.nld-chatbot .nld-shown-middle {\n /* Animations */\n animation-name: nld-pop-in-middle;\n animation-duration: 0.5s;\n animation-fill-mode: forwards;\n}\n\n.nld-chatbot .nld-hidden-slide {\n /* Animations */\n animation-name: nld-slide-out;\n animation-duration: 0.5s;\n animation-fill-mode: forwards;\n}\n\n.nld-chatbot .nld-hidden-slideup {\n /* Animations */\n animation-name: nld-slide-out-up;\n animation-duration: 0.5s;\n animation-fill-mode: forwards;\n}\n\n.nld-chatbot .nld-shown-slide {\n /* Animations */\n animation-name: nld-slide-in;\n animation-duration: 0.5s;\n animation-fill-mode: forwards;\n}\n\n.nld-chatbot .nld-close {\n position: absolute;\n top: 23px;\n right: 24px;\n\n width: 25px;\n height: 25px;\n\n z-index: 9999999;\n}\n\n.nld-chatbot.nld-left .nld-chatbot-invite-message .nld-close {\n top: -12px;\n right: -12px;\n left: auto;\n\n background: #aaa;\n border-radius: 13px !important;\n}\n\n.nld-chatbot .nld-chatbot-invite-message .nld-close {\n top: -12px;\n left: -12px;\n\n background: #aaa;\n border-radius: 13px !important;\n}\n\n.nld-chatbot .nld-close-white {\n display: block;\n}\n\n.nld-chatbot .nld-close-black {\n display: none;\n}\n\n.nld-chatbot .nld-close:hover {\n cursor: pointer;\n}\n\n.nld-chatbot .nld-close > img {\n all: inherit;\n width: 25px;\n top: 0;\n left: 0;\n}\n\n/* Modifiers */\n\n/* Left */\n\n.nld-chatbot.nld-left > .nld-avatar {\n left: 18px;\n}\n\n.nld-chatbot.nld-left .nld-chatbot-invite-container {\n left: 72px;\n}\n\n.nld-chatbot.nld-left .nld-chatbot-invite-message {\n float: left;\n}\n\n.nld-chatbot.nld-left .nld-conversation {\n left: 24px;\n}\n\n.nld-chatbot.nld-left .nld-chatbot-invite-message::after {\n left: -16px;\n right: initial;\n transform: scale(-1, 1);\n}\n\n/* Center */\n\n.nld-chatbot.nld-center > .nld-avatar {\n left: 50%;\n margin-left: -30px;\n}\n\n.nld-chatbot.nld-center .nld-chatbot-invite-container {\n left: 72px;\n}\n\n.nld-chatbot.nld-center .nld-chatbot-invite-message {\n float: left;\n}\n\n.nld-chatbot.nld-center .nld-conversation {\n left: calc(100vw / 2 - 360px);\n width: 100vw;\n max-width: 720px;\n}\n\n.nld-chatbot.nld-center .nld-chatbot-invite-message::after {\n left: -16px;\n right: initial;\n transform: scale(-1, 1);\n}\n\n.nld-chatbot .nld-conversation-header {\n width: 100%;\n height: 100px;\n\n border-radius: 8px 8px 0 0 !important;\n\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n}\n\n.nld-chatbot .nld-mobile-brand {\n position: absolute;\n\n bottom: 0;\n left: 0;\n\n width: 100%;\n text-align: center;\n\n margin-bottom: -28px;\n background-color: #FFF;\n}\n\n.nld-chatbot .nld-mobile-brand .nld-logo {\n width: 160px;\n opacity: 0.5;\n}\n\n.nld-chatbot .nld-brand {\n position: absolute;\n\n display: inline-block;\n width: 100%;\n\n margin: 0;\n\n text-align: center;\n\n bottom: -1.7em;\n}\n\n.nld-chatbot .nld-brand a {\n padding-top: 8px;\n background: #eee;\n\n margin-top: 1px;\n\n box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.15);\n\n border-radius: 0 0 6px 6px !important;\n\n border: 1px solid #ddd;\n\n display: inline-block !important;\n}\n\n.nld-chatbot .nld-brand a img {\n padding: 0;\n margin: 0;\n vertical-align: baseline;\n opacity: 0.7;\n}\n\n.nld-chatbot .nld-brand a img:hover {\n opacity: 1;\n}\n\n.nld-chatbot .nld-logo {\n width: 200px;\n}\n\n.nld-infobar {\n color: white;\n\n border-radius: 8px 8px 0 0 !important;\n\n font-family: 'Open Sans Regular', sans-serif !important;\n\n height: 72px;\n\n display: flex;\n align-items: center;\n}\n\n.nld-chatbot .nld-infobar > .nld-avatar {\n width: 50px;\n height: 50px;\n border-radius: 25px !important;\n\n left: 12px;\n top: 11px;\n\n position: absolute;\n\n background-size: cover;\n}\n\n.nld-chatbot .nld-infobar > .nld-avatar::after {\n border: 2px solid #cf0237;\n}\n\n.nld-chatbot .nld-infobar .nld-info {\n margin: 0;\n margin-left: 68px;\n}\n\n.nld-chatbot .nld-info .nld-title {\n font-size: 1em !important;\n margin-bottom: 6px;\n margin-top: -6px;\n}\n\n.nld-chatbot .nld-info .nld-subtitle {\n font-size: 0.75em !important;\n}\n\n/* Conversational Form Implementation */\n\n.nld-chatbot .nld-ctx {\n font-family: 'Open Sans Regular', sans-serif !important;\n}\n\n/* Conversation container */\n\n.nld-chatbot .nld-ctx > div > .nld-container {\n position: absolute;\n top: 72px;\n left: 0;\n right: 0;\n bottom: 64px;\n\n border-radius: 8px 8px 0 0 !important;\n\n background-color: white;\n\n overflow: hidden;\n}\n\n.nld-chatbot .nld-container:focus-visible,\n.nld-chatbot .nld-group {\n outline: none;\n}\n\n.nld-chatbot .nld-ctx > div > .nld-container.nld-full {\n bottom: 0;\n border-radius: 8px 8px 8px 8px !important;\n}\n\n.nld-chatbot .nld-ctx > div > .nld-overlay {\n position: absolute;\n\n top: 72px;\n left: 0;\n right: 0;\n\n height: 36px;\n\n background: white;\n\n background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0));\n background: -moz-linear-gradient(to bottom, white, rgba(255, 255, 255, 0));\n background: -webkit-linear-gradient(to bottom, white, rgba(255, 255, 255, 0));\n}\n\n/* Bubbles */\n\n.nld-chatbot .nld-msg .nld-bubble {\n padding: 16px 24px;\n margin: 12px;\n margin-bottom: 0;\n\n background: #f0f0f0;\n\n line-height: 1.5 !important;\n font-size: 0.9em !important;\n\n display: inline-block;\n\n border-radius: 24px !important;\n\n overflow-wrap: anywhere;\n\n clear: both;\n}\n\n.nld-chatbot .nld-msg .nld-bubble img {\n margin-top: 6px;\n width: 100%;\n}\n\n.nld-chatbot .nld-msg .nld-bubble b {\n font-weight: bold !important;\n display: initial !important;\n}\n\n.nld-chatbot .nld-msg .nld-bubble a {\n text-decoration: underline;\n color: #07c;\n}\n\n/* Bubble left/right styles */\n\n.nld-chatbot .nld-ctx .nld-group.nld-right .nld-bubble {\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n\n color: white;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-left .nld-bubble {\n color: black;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-left .nld-bubble p {\n color: #000 !important;\n}\n\n/* Middle Bubbles\n\n .nld-ctx .nld-group.nld-right .nld-bubble {\n border-radius: 8px 0 0 8px;\n margin-top: 2px;\n margin-bottom: 2px;\n }\n\n .nld-ctx .nld-group.nld-left .nld-bubble {\n border-radius: 0 8px 8px 0;\n margin-top: 2px;\n margin-bottom: 2px;\n }\n\n */\n\n/* Bottom Bubbles\n\n .nld-ctx .nld-group.nld-right .nld-msg:last-child .nld-bubble {\n border-radius: 8px 0 8px 8px;\n margin-top: 2px;\n }\n\n .nld-ctx .nld-group.nld-left .nld-msg:last-child .nld-bubble {\n border-radius: 0 8px 8px 8px;\n margin-top: 2px;\n }\n\n */\n\n.nld-chatbot .nld-ctx .nld-group.nld-right .nld-msg:last-child .nld-bubble {\n margin-bottom: 6px;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-left .nld-msg:last-child .nld-bubble {\n margin-bottom: 6px;\n}\n\n/* Top Bubbles\n\n .nld-ctx .nld-group.nld-right .nld-msg:first-child .nld-bubble {\n border-radius: 8px 8px 0 8px;\n margin-top: 0;\n }\n\n .nld-ctx .nld-group.nld-left .nld-msg:first-child .nld-bubble {\n border-radius: 8px 8px 8px 0;\n margin-top: 0;\n }\n\n */\n\n.nld-chatbot .nld-ctx .nld-group.nld-right .nld-msg:first-child .nld-bubble {\n margin-top: 0;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-left .nld-msg:first-child .nld-bubble {\n margin-top: 0;\n}\n\n/* Message groups (blocks of speech) */\n\n.nld-chatbot .nld-ctx .nld-group {\n display: block;\n\n clear: both;\n\n max-width: 80%;\n\n margin: 6px;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-full {\n display: block;\n\n clear: both;\n\n width: 100%;\n max-width: calc(100% - 48px);\n\n margin-bottom: 16px;\n margin-top: 16px;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-nomargin {\n position: relative;\n display: block;\n\n clear: both;\n\n width: calc(100% + 6px);\n max-width: calc(100% + 6px);\n\n right: -6px;\n\n margin: 0;\n padding: 0;\n}\n\n/* Left/Right message groups */\n\n.nld-chatbot .nld-ctx .nld-group.nld-left {\n float: left;\n text-align: left;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-right {\n float: right;\n text-align: right;\n}\n\n/*\n * Message containers (inside groups). Used to allow for custom\n * content like avatars side by side inside message groups.\n */\n\n.nld-chatbot .nld-ctx .nld-group.nld-left .nld-container {\n max-width: calc(100% - 40px);\n min-width: 200px;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-full .nld-container {\n max-width: 21em;\n width: 100%;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-left .nld-container {\n float: left;\n}\n\n.nld-chatbot .nld-ctx .nld-group.nld-right .nld-container {\n float: right;\n}\n\n/* Message group avatar */\n\n.nld-chatbot .nld-group.nld-left .nld-msg-avatar {\n float: left;\n margin-left: 8px;\n}\n\n.nld-chatbot .nld-group.nld-right .nld-msg-avatar {\n float: right;\n margin-right: 8px;\n}\n\n.nld-chatbot .nld-msg-avatar > .nld-img {\n width: 32px;\n height: 32px;\n border-radius: 16px !important;\n\n object-fit: cover;\n}\n\n/* Timestamps */\n\n.nld-chatbot .nld-timestamp {\n display: block;\n color: #979797;\n font-size: 0.75em !important;\n\n margin: 6px 0 6px 6px;\n}\n\n.nld-chatbot .nld-group.nld-left .nld-timestamp {\n float: right;\n}\n\n.nld-chatbot .nld-group.nld-right .nld-timestamp {\n float: right;\n color: #f5f5f5;\n}\n\n/* Text Input */\n\n.nld-chatbot .nld-input {\n position: absolute;\n\n left: 0;\n right: 0;\n\n bottom: 16px;\n height: 48px;\n\n border-radius: 0 0 8px 8px !important;\n}\n\n.nld-chatbot .nld-input.nld-plain {\n box-shadow: none;\n}\n\n.nld-chatbot .nld-input.nld-hide {\n height: 0;\n}\n\n.nld-chatbot .nld-input.nld-hide .nld-submit {\n display: none;\n}\n\n.nld-chatbot .nld-input > .nld-submit {\n box-sizing: content-box;\n\n background-image: url(${b});\n background-size: 30px 30px;\n\n width: 30px;\n height: 30px;\n\n display: inline-block;\n position: absolute;\n right: 24px;\n bottom: 6px;\n\n border-radius: 16px !important;\n border: 1px solid;\n z-index: 3;\n}\n\n.nld-chatbot .nld-input > .nld-submit:hover {\n cursor: pointer;\n}\n\n.nld-chatbot .nld-input > .nld-submit.nld-only {\n left: 50%;\n transform: translateX(-50%);\n\n width: auto;\n text-align: center;\n line-height: 30px !important;\n text-transform: uppercase;\n\n background: transparent !important;\n}\n\n.nld-chatbot .nld-input > input {\n width: calc(100% - 95px) !important;\n height: 46px !important;\n\n background: white;\n color: black !important;\n\n border-radius: 32px !important;\n outline: none;\n border: 2px solid #eee;\n margin: 0 14px;\n\n padding: 0 46px 0 16px !important;\n padding-bottom: 2px;\n\n background: initial !important;\n\n font-size: 1em !important;\n\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n display: initial;\n}\n\n/* iOS Fix */\ninput[type='text'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n/* Select Box */\n\n.nld-chatbot .nld-input select {\n width: calc(100% - 100px) !important;\n height: 46px !important;\n\n background: white;\n color: black !important;\n position: relative;\n\n border-radius: 32px !important;\n outline: none;\n border: 2px solid #eee;\n margin: 0 14px;\n\n padding: 0 52px 0 16px !important;\n padding-bottom: 2px;\n\n font-size: 1em !important;\n\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n.nld-chatbot .nld-input > .custom-select {\n position: relative;\n}\n\n.nld-chatbot .nld-input > .custom-select:after {\n content: '▼';\n position: absolute;\n color: #4c4c4c;\n top: 4px;\n right: 60px;\n padding: 12px 7px;\n pointer-events: none;\n z-index: 3;\n}\n\n.nld-chatbot .nld-input > select::-ms-expand {\n display: none;\n}\n\n/* Selectors (Single/Multi option) */\n\n.nld-chatbot .nld-sel {\n padding: 24px 0;\n margin: 0;\n right: 6px;\n position: relative;\n}\n\n.nld-chatbot .nld-sel > .nld-opt {\n padding: 12px 24px;\n border-radius: 24px !important;\n display: inline-block;\n cursor: pointer;\n color: white;\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);\n margin: 3px;\n text-align: center;\n}\n\n.nld-chatbot .nld-sel > .nld-opt:hover {\n box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.3);\n}\n\n.nld-chatbot .nld-sel.nld-multi {\n padding: 12px 0;\n}\n\n.nld-chatbot .nld-sel.nld-multi > .nld-opt.nld-selected {\n background-image: linear-gradient(to right, #f31448, #ff6084);\n}\n\n.nld-chatbot .nld-sel.nld-multi > .nld-opt {\n background: transparent;\n border: 1px solid #f31448;\n color: #222;\n}\n\n.nld-chatbot .nld-secondary {\n padding: 4px 8px;\n background: transparent !important;\n color: #0592ff !important;\n box-shadow: none !important;\n border: none !important;\n font-size: 12px !important;\n text-decoration: underline !important;\n}\n\n.nld-chatbot .nld-secondary:hover {\n box-shadow: none !important;\n color: #0277d1 !important;\n}\n\n.nld-chatbot .nld-secondary.nld-selected {\n background-image: none !important;\n}\n\n/* Message-Selector */\n\n.nld-chatbot .nld-sel.nld-messages {\n padding: 0;\n margin: 0;\n\n padding-top: 12px;\n}\n\n.nld-chatbot .nld-sel.nld-messages > .nld-opt {\n margin: 6px 6px 0 0;\n padding: 12px 16px;\n\n border-radius: 24px !important;\n\n display: inline-block;\n\n cursor: pointer;\n\n color: white !important;\n\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);\n}\n\n.nld-chatbot .nld-sel.nld-messages > .nld-opt:hover {\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.3);\n}\n\n.nld-chatbot .nld-sel.nld-messages > .nld-opt.nld-selected {\n background-image: linear-gradient(to right, #f31448, #ff6084);\n}\n\n/* Time Selector */\n\n.nld-chatbot .nld-sel.nld-time {\n margin-right: 16px;\n\n border-radius: 8px !important;\n\n border: 1px solid #bc002c;\n\n overflow: hidden;\n}\n\n.nld-chatbot .nld-timedisplay {\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n\n font-size: 3em !important;\n color: rgba(255, 255, 255, 0.8);\n\n padding: 6px 24px;\n}\n\n.nld-chatbot .nld-timepicker {\n background: white;\n\n padding: 6px;\n}\n\n.nld-chatbot .nld-timepicker .nld-clock {\n width: 14em;\n height: 14em;\n border-radius: 7em !important;\n\n background: #eee;\n\n position: relative;\n}\n\n.nld-chatbot .nld-clock .nld-num-container {\n width: 11em;\n height: 11em;\n\n top: 1.5em;\n left: 1.5em;\n\n position: relative;\n}\n\n.nld-chatbot .nld-clock .nld-pivot {\n box-sizing: content-box;\n\n position: absolute;\n\n top: 50%;\n left: 50%;\n\n margin-top: -0.25em;\n margin-left: -0.25em;\n\n width: 0.5em;\n height: 0.5em;\n\n border-radius: 0.5em !important;\n\n border: 2px solid #ea083d;\n}\n\n.nld-chatbot .nld-clock .nld-pointer {\n position: absolute;\n\n top: 0.25em;\n left: 0.5em;\n\n margin-top: -1px;\n\n width: 4.55em;\n height: 2px;\n\n transform-origin: -0.25em 1px;\n\n background: #ea083d;\n}\n\n.nld-chatbot .nld-clock .nld-clock-num {\n position: absolute;\n\n width: 2em;\n height: 2em;\n\n margin-top: -1em;\n margin-left: -1em;\n\n line-height: 2em !important;\n\n text-align: center;\n vertical-align: middle;\n\n cursor: pointer;\n\n color: #888;\n\n border-radius: 1em !important;\n}\n\n.nld-chatbot .nld-clock .nld-clock-num.nld-disabled {\n color: #ddd;\n}\n\n.nld-chatbot .nld-clock .nld-clock-num:hover {\n color: black;\n}\n\n.nld-chatbot .nld-clock .nld-clock-num.nld-selected {\n color: white;\n background: #ea083d;\n}\n\n.nld-chatbot .nld-timedisplay .nld-hours {\n display: inline-block;\n\n cursor: pointer;\n}\n\n.nld-chatbot .nld-timedisplay .nld-minutes {\n display: inline-block;\n\n cursor: pointer;\n}\n\n.nld-chatbot .nld-timedisplay .nld-sep {\n display: inline-block;\n\n color: #eee;\n}\n\n.nld-chatbot .nld-hours.nld-selected {\n color: white;\n\n border-bottom: 3px solid white;\n}\n\n.nld-chatbot .nld-minutes.nld-selected {\n color: white;\n\n border-bottom: 3px solid white;\n}\n\n.nld-chatbot .nld-timedisplay .nld-period {\n float: right;\n font-size: 0.33em !important;\n margin-top: 0.8em;\n margin-left: 1em;\n}\n\n.nld-chatbot .nld-period .nld-day {\n cursor: pointer;\n}\n\n.nld-chatbot .nld-period .nld-night {\n cursor: pointer;\n}\n\n.nld-chatbot .nld-period .nld-day.nld-selected {\n color: white;\n font-weight: bold !important;\n}\n\n.nld-chatbot .nld-period .nld-night.nld-selected {\n color: white;\n font-weight: bold !important;\n}\n\n/* Date selector */\n\n.nld-chatbot .nld-sel.nld-date {\n padding: 0;\n padding-bottom: 12px;\n\n right: 6px;\n\n position: relative;\n}\n\n.nld-chatbot .nld-cal {\n position: relative;\n\n min-width: 18em;\n width: 100%;\n height: 16em;\n\n background: white;\n\n border-radius: 8px !important;\n\n border: 1px solid #cf0237;\n\n color: #444;\n\n font-size: 0.8em !important;\n\n overflow: hidden;\n}\n\n.nld-chatbot .nld-cal > .nld-row {\n width: 100%;\n height: 2em;\n\n text-align: center;\n}\n\n.nld-chatbot .nld-row.nld-title {\n font-weight: bold !important;\n\n color: white;\n\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n}\n\n.nld-chatbot .nld-row.nld-header {\n font-weight: bold !important;\n color: white;\n background-image: linear-gradient(to right, #bc002c, #ea083d);\n border-radius: 6px 6px 0 0 !important;\n vertical-align: middle;\n}\n\n.nld-chatbot .nld-row.nld-header > .nld-header {\n padding-top: 0.5em;\n}\n\n.nld-chatbot .nld-cal .nld-prev {\n float: left;\n padding-left: 12px;\n\n cursor: pointer;\n\n -moz-transform: scaleX(-1);\n -o-transform: scaleX(-1);\n -webkit-transform: scaleX(-1);\n transform: scaleX(-1);\n filter: FlipH;\n -ms-filter: 'FlipH';\n\n width: 16px;\n height: 16px;\n\n background-image: url(${_});\n background-size: 16px;\n\n background-repeat: no-repeat;\n}\n\n.nld-chatbot .nld-cal .nld-next {\n float: right;\n margin-right: 12px;\n\n cursor: pointer;\n\n width: 16px;\n height: 16px;\n\n background-image: url(${_});\n background-size: 16px;\n}\n\n.nld-chatbot .nld-next.nld-full,\n.nld-chatbot .nld-prev.nld-full {\n background-image: url(${v});\n}\n\n.nld-chatbot .nld-cal .nld-cell {\n box-sizing: content-box;\n display: inline-block;\n\n width: 14.2857%;\n height: 50%;\n\n padding: 0.5em 0;\n\n text-align: center;\n\n cursor: pointer;\n\n user-select: none;\n\n position: relative;\n}\n\n.nld-chatbot .nld-cell.nld-this-month {\n}\n\n.nld-chatbot .nld-cell.nld-disabled {\n background-color: #eee;\n cursor: not-allowed;\n}\n\n.nld-chatbot .nld-cell.nld-next-month {\n color: #bbb;\n}\n\n.nld-chatbot .nld-cell.nld-prev-month {\n color: #999;\n}\n\n.nld-chatbot .nld-cell.nld-today {\n font-weight: bold !important;\n color: black;\n}\n\n.nld-chatbot .nld-cell.nld-selected {\n font-weight: bold !important;\n color: black;\n}\n\n.nld-chatbot .nld-cell.nld-selected::after {\n box-sizing: content-box;\n\n width: calc(100% - 8px);\n height: calc(100% - 6px);\n\n border-radius: 6px !important;\n\n border: 1px solid #cf0237;\n\n opacity: 0.5;\n\n position: absolute;\n\n top: 3px;\n left: 3px;\n\n content: '';\n}\n\n/* Scrollbar */\n\n.nld-chatbot .nld-scrollable {\n width: calc(100% - 6px);\n height: 100%;\n\n box-sizing: content-box;\n\n overflow-y: scroll;\n overflow-x: hidden;\n\n margin-right: -50px;\n padding-right: 50px;\n}\n\n.nld-chatbot .nld-scrollbar {\n position: absolute;\n top: 0;\n right: 0;\n\n width: 6px;\n height: 100%;\n}\n\n.nld-chatbot .nld-handle {\n width: 100%;\n\n position: absolute;\n\n border-radius: 3px !important;\n\n background: #ea083d;\n\n opacity: 0.8;\n}\n\n.nld-chatbot .nld-whitespace {\n width: 100%;\n height: 1em;\n background: none;\n}\n\n.nld-chatbot .nld-input .nld-tooltip-error {\n position: absolute;\n display: flex;\n background-color: #cb2134;\n color: #fff;\n margin: 0px 20px;\n width: calc(100% - 64px) !important;\n border-radius: 8px;\n padding: 5px 10px;\n font-size: 14px !important;\n transform: translateY(-135%);\n box-shadow: 0 1px 8px rgb(0 0 0 / 50%);\n}\n\n.nld-chatbot .nld-input .nld-tooltip-error:after {\n content: '';\n position: absolute;\n display: block;\n width: 14px;\n height: 14px;\n transform-origin: 50% 50%;\n transform: rotate(45deg) translateX(-50%);\n background-color: inherit;\n z-index: -10;\n left: 20px;\n top: auto;\n bottom: -10px;\n border-radius: 2px;\n}\n\n.nld-chatbot .nld-multi .nld-tooltip-error {\n position: absolute;\n display: flex;\n background-color: #cb2134;\n color: #fff;\n border-radius: 8px;\n padding: 5px 10px;\n right: 0;\n font-size: 14px !important;\n transform: translateY(-135%);\n box-shadow: 0 1px 8px rgb(0 0 0 / 50%);\n}\n\n.nld-chatbot .nld-multi .nld-tooltip-error:after {\n content: '';\n position: absolute;\n display: block;\n width: 14px;\n height: 14px;\n transform-origin: 50% 50%;\n transform: rotate(45deg) translateX(-50%);\n background-color: inherit;\n z-index: -10;\n right: 20px;\n top: auto;\n bottom: -10px;\n border-radius: 2px;\n}\n\n.nld-chatbot .nld-bubble a.whatsapp-link {\n text-decoration: none;\n}\n\n.nld-chatbot .nld-bubble a.whatsapp-link > div {\n background: #455a64;\n color: white;\n padding: 1em;\n border-radius: 0.5em;\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);\n font-weight: bold;\n margin-top: 1em;\n}\n\n.nld-chatbot .nld-bubble a.whatsapp-link > div > img {\n width: 2em;\n height: 2em;\n margin-top: -0.25em;\n margin-right: 0.25em;\n float: left;\n}\n\n.nld-chatbot .nld-bubble a.reset-chat {\n color: #ffffff;\n font-weight: bold !important;\n}\n\n.nld-chatbot .nld-bubble a.reset-chat > img {\n margin-left: 10px;\n vertical-align: -5px;\n margin-top: 0 !important;\n width: inherit !important;\n}\n\n/* Media Queries */\n@media only screen and (max-device-width: 720px) {\n .nld-chatbot.nld-center .nld-conversation {\n width: auto;\n height: auto;\n max-height: none;\n min-height: none;\n\n position: fixed;\n\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n\n z-index: 32767;\n }\n}\n\n@media only screen and (max-width: 720px) {\n .nld-chatbot.nld-center > .nld-avatar {\n left: 0 !important;\n margin-left: 0 !important;\n }\n}\n\n@media only screen and (max-device-width: 720px) {\n .nld-chatbot .nld-conversation {\n border-radius: 0 !important;\n }\n\n .nld-chatbot .nld-conversation-header {\n border-radius: 0 !important;\n }\n\n .nld-chatbot .nld-avatar {\n bottom: 48px;\n }\n\n .nld-chatbot .nld-conversation,\n .nld-chatbot.nld-left .nld-conversation,\n .nld-chatbot.nld-right .nld-conversation {\n width: auto;\n height: auto;\n max-height: none !important;\n min-height: none !important;\n\n position: fixed;\n\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n\n z-index: 32767;\n }\n\n .nld-chatbot .nld-invite-message-container {\n max-width: 200px;\n max-width: calc(100vw - 138px);\n }\n\n .nld-chatbot .nld-invite-message-container.nld-notification .nld-invite-message-text {\n min-width: 0 !important;\n }\n\n .nld-chatbot .nld-invite-message-container.nld-notification .nld-footer.nld-verified {\n display: none !important;\n }\n\n .nld-chatbot .nld-ctx > div > .nld-container,\n .nld-ctx > div > .nld-overlay {\n top: 72px;\n border-radius: 0 !important;\n }\n\n .nld-chatbot .nld-ctx > div > .nld-container {\n bottom: 76px;\n }\n\n .nld-chatbot .nld-ctx > div > .nld-container.nld-full {\n bottom: 18px;\n }\n\n .nld-chatbot .nld-close-white {\n display: block;\n }\n\n .nld-chatbot .nld-close-black {\n display: none;\n }\n\n .nld-chatbot .nld-input > input {\n font-size: 1.1em !important;\n }\n\n .nld-chatbot .nld-input {\n bottom: 28px;\n }\n\n .nld-chatbot .nld-msg .nld-bubble {\n font-size: 1em !important;\n }\n}\n\n/* Waiting Spinnner */\n\n.nld-chatbot .nld-input .nld-spinner {\n position: relative;\n width: 2em;\n height: 2em;\n\n top: 50%;\n left: 50%;\n margin-left: -1em;\n margin-top: -1em;\n}\n\n.nld-chatbot .nld-input .nld-spinner div {\n position: absolute;\n border-width: 0.25em;\n border-style: solid;\n border-color: inherit;\n margin-top: -0.25em;\n border-radius: 50% !important;\n animation: nld-spinner 1.6s cubic-bezier(0, 0.35, 0.28, 0.9) infinite;\n}\n\n.nld-chatbot .nld-input .nld-spinner div:nth-child(2) {\n animation-delay: -0.64s;\n}\n\n@keyframes nld-spinner {\n 0% {\n top: 50%;\n left: 50%;\n width: 0;\n height: 0;\n opacity: 1;\n }\n 80% {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n }\n 100% {\n opacity: 0;\n top: 50%;\n left: 50%;\n width: 0;\n height: 0;\n }\n}\n\n/* Social Proof Icon */\n.nld-chatbot .nld-sp-icon {\n margin: -4px;\n\n min-width: 64px;\n height: 64px;\n border-radius: 50% !important;\n background-size: 0%;\n}\n\n.nld-chatbot .nld-sp-icon div:not(:nth-child(3)) {\n position: absolute;\n\n background: inherit;\n border-radius: 50% !important;\n\n animation: nld-pulse 2.6s cubic-bezier(0, 0.35, 0.28, 0.9) infinite;\n}\n\n.nld-chatbot .nld-sp-icon div:nth-child(2) {\n animation-delay: -0.64s;\n}\n\n.nld-chatbot .nld-sp-icon .nld-img {\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: 50% !important;\n background-size: 100%;\n}\n\n.nld-chatbot .nld-sp-icon.nld-right {\n margin-right: 0;\n margin-left: 12px;\n\n animation: nld-slide-in 0.8s cubic-bezier(0, 0.35, 0.28, 0.9) forwards;\n}\n\n.nld-chatbot .nld-sp-icon.nld-left {\n margin-left: 0;\n margin-right: 12px;\n\n animation: nld-slide-in 0.4s cubic-bezier(0, 0.35, 0.28, 0.9) forwards;\n}\n\n.nld-chatbot .nld-footer {\n display: none;\n}\n\n.nld-chatbot .nld-footer.nld-verified::before {\n position: absolute;\n\n top: 50%;\n left: -1.2em;\n width: 1em;\n height: 1em;\n\n margin-top: -0.5em;\n\n content: 'C';\n font-family: neurolead !important;\n\n color: white;\n background: #58f;\n\n border-radius: 50% !important;\n\n line-height: 1em !important;\n}\n\n.nld-chatbot .nld-invite-message-container.nld-notification .nld-footer.nld-verified {\n display: block;\n opacity: 0;\n\n text-align: right;\n\n position: absolute;\n right: 8px;\n bottom: 0;\n\n font-size: 75% !important;\n color: #58f;\n\n animation: nld-slide-in 0.4s cubic-bezier(0, 0.35, 0.28, 0.9) forwards;\n animation-delay: 0.5s;\n}\n\n.nld-chatbot .nld-invite-message-container.nld-notification .nld-footer.nld-time {\n display: block;\n opacity: 0;\n\n position: absolute;\n left: 92px;\n bottom: 0;\n\n font-size: 75% !important;\n color: #aaa;\n\n animation: nld-slide-in 0.4s cubic-bezier(0, 0.35, 0.28, 0.9) forwards;\n animation-delay: 0.25s;\n}\n\n.nld-chatbot.nld-left .nld-invite-message-container.nld-notification .nld-footer.nld-time {\n left: 16px;\n text-align: left;\n}\n\n.nld-chatbot.nld-left .nld-invite-message-container.nld-notification .nld-footer.nld-verified {\n right: 86px;\n text-align: right;\n}\n\n.nld-chatbot .nld-invite-message-container.nld-notification .nld-invite-message-text {\n min-width: 180px;\n margin-bottom: 16px;\n line-height: 1.2em !important;\n\n align-self: flex-start;\n}\n\n@keyframes nld-pulse {\n 0% {\n top: 50%;\n left: 50%;\n width: 0;\n height: 0;\n opacity: 1;\n }\n 60% {\n top: -25%;\n left: -25%;\n width: 150%;\n height: 150%;\n opacity: 0;\n }\n 100% {\n opacity: 0;\n top: 50%;\n left: 50%;\n width: 0;\n height: 0;\n }\n}\n\n.nld-chatbot .nld-popup-container {\n position: absolute;\n bottom: 3.5em;\n width: 100%;\n left: 0;\n}\n\n.nld-chatbot .nld-popup-container .nld-popup {\n margin: 0 0.75em;\n background: #fff0f1;\n border-radius: 0.5em;\n box-shadow: 0 4px 6px -5px rgba(0, 0, 0, 0.2);\n border: 1px solid #f2dcd0;\n color: #a33;\n padding: 1em 2em;\n text-align: center;\n font-size: 1.25em !important;\n}\n`,""]);const y=g},117:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(601),o=n.n(i),a=n(314),r=n.n(a)()(o());r.push([t.id,".nld-chatbot .nld-scheduler-container {\n outline: 2px solid #2F6FEA;\n border-radius: 20px;\n width: 330px;\n}\n\n.nld-chatbot .scheduler-action-buttons-container {\n display: flex;\n justify-content: space-around;\n align-items: center;\n padding-bottom: 5px;\n}\n\n.nld-chatbot .scheduler-action-buttons-container > .scheduler-cancel-button {\n color: #2F6FEA;\n cursor: pointer;\n min-width: 90px;\n}\n\n.nld-chatbot .scheduler-continue-button {\n padding: 0.5em;\n min-width: 90px;\n background: #2F6FEA;\n border-radius: 20px;\n color: #ffffff!important;\n pointer-events: none;\n text-align: center !important;\n}\n\n.nld-chatbot .scheduler-continue-button.disabled {\n background: #A1C5F7;\n border-radius: 20px;\n color: #e7e6e6;\n cursor: not-allowed!important;\n pointer-events: none!important;\n}\n\n.nld-chatbot .scheduler-continue-button.active {\n background: #2F6FEA;\n border-radius: 20px;\n color: #ffffff!important;\n cursor: pointer;\n pointer-events: auto;\n}\n\n.nld-chatbot .scheduler-view-title,\n.scheduler-error-message {\n text-align: center;\n padding: 0.5em;\n color: #555 !important;\n border-bottom: 2px solid #f5f5f5;\n font-weight: bold !important;\n}\n\n.nld-chatbot .scheduler-time-available-container {\n display: flex;\n flex-wrap: wrap;\n padding: 0 0.5em 0 1.5em;\n}\n\n.nld-chatbot .scheduler-time-available-container > .scheduler-time-available {\n text-align: center;\n padding: 0.25em 0.7em;\n font-weight: bold!important;\n color: #2F6FEA;\n cursor: pointer;\n}\n\n.nld-chatbot .scheduler-time-available.disabled {\n color: #989898 !important;\n font-weight: 400 !important;\n pointer-events: none;\n}\n\n.nld-chatbot .scheduler-time-available.active {\n background: #A1C5F7;\n border-radius: 20px;\n font-weight: bold!important;\n color: #2F6FEA;\n cursor: pointer;\n}\n\n.nld-chatbot .scheduler-confirmation-elements {\n text-align: center;\n padding: 0.25em 0 1em 0;\n}\n\n.nld-chatbot .scheduler-confirmation-label {\n padding: 1em 0.5em 0.5em 0.5em;\n}\n\n.nld-chatbot .scheduler-confirmation-date-time {\n display: inline-block;\n background: #F4F4F4;\n border-radius: 5px;\n width: 45%;\n padding: 0.5em 0;\n}\n\n.nld-chatbot .scheduler-confirmation-date-formatting-decoration {\n color: #2F6FEA;\n}\n",""]);const s=r},314:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,a){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var s=0;s0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),e.push(d))}},e}},417:t=>{"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},601:t=>{"use strict";t.exports=function(t){return t[1]}},146:(t,e,n)=>{"use strict";var i=n(404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(t){return i.isMemo(t)?r:s[t.$$typeof]||o}s[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[i.Memo]=r;var c=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,g=Object.prototype;t.exports=function t(e,n,i){if("string"!=typeof n){if(g){var o=p(n);o&&o!==g&&t(e,o,i)}var r=d(n);u&&(r=r.concat(u(n)));for(var s=l(e),m=l(n),f=0;f{"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,r=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,u=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,f=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,_=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function x(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case d:case u:case a:case s:case r:case p:return t;default:switch(t=t&&t.$$typeof){case c:case h:case f:case m:case l:return t;default:return e}}case o:return e}}}function w(t){return x(t)===u}e.AsyncMode=d,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=l,e.Element=i,e.ForwardRef=h,e.Fragment=a,e.Lazy=f,e.Memo=m,e.Portal=o,e.Profiler=s,e.StrictMode=r,e.Suspense=p,e.isAsyncMode=function(t){return w(t)||x(t)===d},e.isConcurrentMode=w,e.isContextConsumer=function(t){return x(t)===c},e.isContextProvider=function(t){return x(t)===l},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return x(t)===h},e.isFragment=function(t){return x(t)===a},e.isLazy=function(t){return x(t)===f},e.isMemo=function(t){return x(t)===m},e.isPortal=function(t){return x(t)===o},e.isProfiler=function(t){return x(t)===s},e.isStrictMode=function(t){return x(t)===r},e.isSuspense=function(t){return x(t)===p},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===u||t===s||t===r||t===p||t===g||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===m||t.$$typeof===l||t.$$typeof===c||t.$$typeof===h||t.$$typeof===_||t.$$typeof===v||t.$$typeof===y||t.$$typeof===b)},e.typeOf=x},404:(t,e,n)=>{"use strict";t.exports=n(691)},402:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>Q,J0:()=>o.J0,Kr:()=>o.Kr,NT:()=>o.NT,Nf:()=>o.Nf,RZ:()=>S,Rf:()=>f,li:()=>o.li,n:()=>i.n,q6:()=>i.q6,tY:()=>k,vJ:()=>o.vJ});var i=n(172),o=n(994);function a(t,e){for(var n in e)t[n]=e[n];return t}function r(t,e){for(var n in t)if("__source"!==n&&!(n in e))return!0;for(var i in e)if("__source"!==i&&t[i]!==e[i])return!0;return!1}function s(t,e){var n=e(),i=(0,o.J0)({t:{__:n,u:e}}),a=i[0].t,r=i[1];return(0,o.Nf)((function(){a.__=n,a.u=e,l(a)&&r({t:a})}),[t,n,e]),(0,o.vJ)((function(){return l(a)&&r({t:a}),t((function(){l(a)&&r({t:a})}))}),[t]),n}function l(t){var e,n,i=t.u,o=t.__;try{var a=i();return!((e=o)===(n=a)&&(0!==e||1/e==1/n)||e!=e&&n!=n)}catch(t){return!0}}function c(t){t()}function d(t){return t}function u(){return[!1,c]}var h=o.Nf;function p(t,e){this.props=t,this.context=e}(p.prototype=new i.uA).isPureReactComponent=!0,p.prototype.shouldComponentUpdate=function(t,e){return r(this.props,t)||r(this.state,e)};var g=i.fF.__b;i.fF.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),g&&g(t)};var m="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function f(t){function e(e){var n=a({},e);return delete n.ref,t(n,e.ref||null)}return e.$$typeof=m,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var b=function(t,e){return null==t?null:(0,i.v2)((0,i.v2)(t).map(e))},_={map:b,forEach:b,count:function(t){return t?(0,i.v2)(t).length:0},only:function(t){var e=(0,i.v2)(t);if(1!==e.length)throw"Children.only";return e[0]},toArray:i.v2},v=i.fF.__e;i.fF.__e=function(t,e,n,i){if(t.then)for(var o,a=e;a=a.__;)if((o=a.__c)&&o.__c)return null==e.__e&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e);v(t,e,n,i)};var y=i.fF.unmount;function x(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(t){"function"==typeof t.__c&&t.__c()})),t.__c.__H=null),null!=(t=a({},t)).__c&&(t.__c.__P===n&&(t.__c.__P=e),t.__c.__e=!0,t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return x(t,e,n)}))),t}function w(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return w(t,e,n)})),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function k(){this.__u=0,this.o=null,this.__b=null}function A(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function S(t){var e,n,o;function a(a){if(e||(e=t()).then((function(t){n=t.default||t}),(function(t){o=t})),o)throw o;if(!n)throw e;return(0,i.n)(n,a)}return a.displayName="Lazy",a.__f=!0,a}function C(){this.i=null,this.l=null}i.fF.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),y&&y(t)},(k.prototype=new i.uA).__c=function(t,e){var n=e.__c,i=this;null==i.o&&(i.o=[]),i.o.push(n);var o=A(i.__v),a=!1,r=function(){a||(a=!0,n.__R=null,o?o(s):s())};n.__R=r;var s=function(){if(! --i.__u){if(i.state.__a){var t=i.state.__a;i.__v.__k[0]=w(t,t.__c.__P,t.__c.__O)}var e;for(i.setState({__a:i.__b=null});e=i.o.pop();)e.forceUpdate()}};i.__u++||32&e.__u||i.setState({__a:i.__b=i.__v.__k[0]}),t.then(r,r)},k.prototype.componentWillUnmount=function(){this.o=[]},k.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=x(this.__b,n,o.__O=o.__P)}this.__b=null}var a=e.__a&&(0,i.n)(i.FK,null,t.fallback);return a&&(a.__u&=-33),[(0,i.n)(i.FK,null,e.__a?null:t.children),a]};var T=function(t,e,n){if(++n[1]===n[0]&&t.l.delete(e),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.l.size))for(n=t.i;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),e.h.removeChild(t)}}}(0,i.XX)((0,i.n)(I,{context:e.context},t.__v),e.v)}(C.prototype=new i.uA).__a=function(t){var e=this,n=A(e.__v),i=e.l.get(t);return i[0]++,function(o){var a=function(){e.props.revealOrder?(i.push(o),T(e,t,i)):o()};n?n(a):a()}},C.prototype.render=function(t){this.i=null,this.l=new Map;var e=(0,i.v2)(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&e.reverse();for(var n=e.length;n--;)this.l.set(e[n],this.i=[1,0,this.i]);return t.children},C.prototype.componentDidUpdate=C.prototype.componentDidMount=function(){var t=this;this.l.forEach((function(e,n){T(t,n,e)}))};var E="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,D=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,L=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,P=/[A-Z0-9]/g,R="undefined"!=typeof document,N=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(t)};i.uA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(i.uA.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})}));var F=i.fF.event;function O(){}function B(){return this.cancelBubble}function U(){return this.defaultPrevented}i.fF.event=function(t){return F&&(t=F(t)),t.persist=O,t.isPropagationStopped=B,t.isDefaultPrevented=U,t.nativeEvent=t};var Y,z={enumerable:!1,configurable:!0,get:function(){return this.class}},j=i.fF.vnode;i.fF.vnode=function(t){"string"==typeof t.type&&function(t){var e=t.props,n=t.type,o={},a=-1===n.indexOf("-");for(var r in e){var s=e[r];if(!("value"===r&&"defaultValue"in e&&null==s||R&&"children"===r&&"noscript"===n||"class"===r||"className"===r)){var l=r.toLowerCase();"defaultValue"===r&&"value"in e&&null==e.value?r="value":"download"===r&&!0===s?s="":"translate"===l&&"no"===s?s=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?r="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||N(e.type)?"onfocus"===l?r="onfocusin":"onblur"===l?r="onfocusout":L.test(r)&&(r=l):l=r="oninput":a&&D.test(r)?r=r.replace(P,"-$&").toLowerCase():null===s&&(s=void 0),"oninput"===l&&o[r=l]&&(r="oninputCapture"),o[r]=s}}"select"==n&&o.multiple&&Array.isArray(o.value)&&(o.value=(0,i.v2)(e.children).forEach((function(t){t.props.selected=-1!=o.value.indexOf(t.props.value)}))),"select"==n&&null!=o.defaultValue&&(o.value=(0,i.v2)(e.children).forEach((function(t){t.props.selected=o.multiple?-1!=o.defaultValue.indexOf(t.props.value):o.defaultValue==t.props.value}))),e.class&&!e.className?(o.class=e.class,Object.defineProperty(o,"className",z)):(e.className&&!e.class||e.class&&e.className)&&(o.class=o.className=e.className),t.props=o}(t),t.$$typeof=E,j&&j(t)};var W=i.fF.__r;i.fF.__r=function(t){W&&W(t),Y=t.__c};var V=i.fF.diffed;i.fF.diffed=function(t){V&&V(t);var e=t.props,n=t.__e;null!=n&&"textarea"===t.type&&"value"in e&&e.value!==n.value&&(n.value=null==e.value?"":e.value),Y=null};var q={ReactCurrentDispatcher:{current:{readContext:function(t){return Y.__n[t.__c].props.value},useCallback:o.hb,useContext:o.NT,useDebugValue:o.MN,useDeferredValue:d,useEffect:o.vJ,useId:o.Bi,useImperativeHandle:o.Yn,useInsertionEffect:h,useLayoutEffect:o.Nf,useMemo:o.Kr,useReducer:o.WO,useRef:o.li,useState:o.J0,useSyncExternalStore:s,useTransition:u}}};function H(t){return!!t&&t.$$typeof===E}var J=i.FK,G=H,Q={useState:o.J0,useId:o.Bi,useReducer:o.WO,useEffect:o.vJ,useLayoutEffect:o.Nf,useInsertionEffect:h,useTransition:u,useDeferredValue:d,useSyncExternalStore:s,startTransition:c,useRef:o.li,useImperativeHandle:o.Yn,useMemo:o.Kr,useCallback:o.hb,useContext:o.NT,useDebugValue:o.MN,version:"18.3.1",Children:_,render:function(t,e,n){return null==e.__k&&(e.textContent=""),(0,i.XX)(t,e),"function"==typeof n&&n(),t?t.__c:null},hydrate:function(t,e,n){return(0,i.Qv)(t,e),"function"==typeof n&&n(),t?t.__c:null},unmountComponentAtNode:function(t){return!!t.__k&&((0,i.XX)(null,t),!0)},createPortal:function(t,e){var n=(0,i.n)(M,{__v:t,h:e});return n.containerInfo=e,n},createElement:i.n,createContext:i.q6,createFactory:function(t){return i.n.bind(null,t)},cloneElement:function(t){return H(t)?i.Ob.apply(null,arguments):t},createRef:i._3,Fragment:i.FK,isValidElement:H,isElement:G,isFragment:function(t){return H(t)&&t.type===i.FK},isMemo:function(t){return!!t&&!!t.displayName&&("string"==typeof t.displayName||t.displayName instanceof String)&&t.displayName.startsWith("Memo(")},findDOMNode:function(t){return t&&(t.base||1===t.nodeType&&t)||null},Component:i.uA,PureComponent:p,memo:function(t,e){function n(t){var n=this.props.ref,i=n==t.ref;return!i&&n&&(n.call?n(null):n.current=null),e?!e(this.props,t)||!i:r(this.props,t)}function o(e){return this.shouldComponentUpdate=n,(0,i.n)(t,e)}return o.displayName="Memo("+(t.displayName||t.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o},forwardRef:f,flushSync:function(t,e){return t(e)},unstable_batchedUpdates:function(t,e){return t(e)},StrictMode:J,Suspense:k,SuspenseList:C,lazy:S,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:q}},172:(t,e,n)=>{"use strict";n.d(e,{FK:()=>A,Ob:()=>J,Qv:()=>H,XX:()=>q,_3:()=>k,fF:()=>o,h:()=>x,n:()=>x,q6:()=>G,uA:()=>S,v2:()=>P});var i,o,a,r,s,l,c,d,u,h,p,g,m={},f=[],b=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,_=Array.isArray;function v(t,e){for(var n in e)t[n]=e[n];return t}function y(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function x(t,e,n){var o,a,r,s={};for(r in e)"key"==r?o=e[r]:"ref"==r?a=e[r]:s[r]=e[r];if(arguments.length>2&&(s.children=arguments.length>3?i.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(r in t.defaultProps)null==s[r]&&(s[r]=t.defaultProps[r]);return w(t,s,o,a,null)}function w(t,e,n,i,r){var s={type:t,props:e,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==r?++a:r,__i:-1,__u:0};return null==r&&null!=o.vnode&&o.vnode(s),s}function k(){return{current:null}}function A(t){return t.children}function S(t,e){this.props=t,this.context=e}function C(t,e){if(null==e)return t.__?C(t.__,t.__i+1):null;for(var n;ed&&r.sort(c),t=r.shift(),d=r.length,t.__d&&(n=void 0,a=(i=(e=t).__v).__e,s=[],l=[],e.__P&&((n=v({},i)).__v=i.__v+1,o.vnode&&o.vnode(n),B(e.__P,n,i,e.__n,e.__P.namespaceURI,32&i.__u?[a]:null,s,null==a?C(i):a,!!(32&i.__u),l),n.__v=i.__v,n.__.__k[n.__i]=n,U(s,n,l),n.__e!=a&&T(n)));M.__r=0}function E(t,e,n,i,o,a,r,s,l,c,d){var u,h,p,g,b,_,v=i&&i.__k||f,y=e.length;for(l=D(n,e,v,l,y),u=0;u0?w(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r).__=t,r.__b=t.__b+1,s=null,-1!=(c=r.__i=R(r,n,l,u))&&(u--,(s=n[c])&&(s.__u|=2)),null==s||null==s.__v?(-1==c&&(o>d?h--:ol?h--:h++,r.__u|=4))):t.__k[a]=null;if(u)for(a=0;a(null==l||2&l.__u?0:1))for(o=n-1,a=n+1;o>=0||a=0){if((l=e[o])&&!(2&l.__u)&&r==l.key&&s==l.type)return o;o--}if(a0?t:_(t)?t.map(Y):v({},t)}function z(t,e,n,a,r,s,l,c,d){var u,h,p,g,f,b,v,x=n.props,w=e.props,k=e.type;if("svg"==k?r="http://www.w3.org/2000/svg":"math"==k?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=s)for(u=0;u2&&(l.children=arguments.length>3?i.call(arguments,2):n),w(t.type,l,o||t.key,a||t.ref,null)}function G(t){function e(t){var n,i;return this.getChildContext||(n=new Set,(i={})[e.__c]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(t){this.props.value!=t.value&&n.forEach((function(t){t.__e=!0,I(t)}))},this.sub=function(t){n.add(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){n&&n.delete(t),e&&e.call(t)}}),t.children}return e.__c="__cC"+g++,e.__=t,e.Provider=e.__l=(e.Consumer=function(t,e){return t.children(e)}).contextType=e,e}i=f.slice,o={__e:function(t,e,n,i){for(var o,a,r;e=e.__;)if((o=e.__c)&&!o.__)try{if((a=o.constructor)&&null!=a.getDerivedStateFromError&&(o.setState(a.getDerivedStateFromError(t)),r=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(t,i||{}),r=o.__d),r)return o.__E=o}catch(e){t=e}throw t}},a=0,S.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=v({},this.state),"function"==typeof t&&(t=t(v({},n),this.props)),t&&v(n,t),null!=t&&this.__v&&(e&&this._sb.push(e),I(this))},S.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),I(this))},S.prototype.render=A,r=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(t,e){return t.__v.__b-e.__v.__b},M.__r=0,d=/(PointerCapture)$|Capture$/i,u=0,h=O(!1),p=O(!0),g=0},994:(t,e,n)=>{"use strict";n.d(e,{Bi:()=>I,J0:()=>_,Kr:()=>A,MN:()=>T,NT:()=>C,Nf:()=>x,WO:()=>v,Yn:()=>k,hb:()=>S,li:()=>w,vJ:()=>y});var i,o,a,r,s=n(172),l=0,c=[],d=s.fF,u=d.__b,h=d.__r,p=d.diffed,g=d.__c,m=d.unmount,f=d.__;function b(t,e){d.__h&&d.__h(o,t,l||e),l=0;var n=o.__H||(o.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function _(t){return l=1,v(N,t)}function v(t,e,n){var a=b(i++,2);if(a.t=t,!a.__c&&(a.__=[n?n(e):N(void 0,e),function(t){var e=a.__N?a.__N[0]:a.__[0],n=a.t(e,t);e!==n&&(a.__N=[n,a.__[1]],a.__c.setState({}))}],a.__c=o,!o.__f)){var r=function(t,e,n){if(!a.__c.__H)return!0;var i=a.__c.__H.__.filter((function(t){return!!t.__c}));if(i.every((function(t){return!t.__N})))return!s||s.call(this,t,e,n);var o=a.__c.props!==t;return i.forEach((function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(o=!0)}})),s&&s.call(this,t,e,n)||o};o.__f=!0;var s=o.shouldComponentUpdate,l=o.componentWillUpdate;o.componentWillUpdate=function(t,e,n){if(this.__e){var i=s;s=void 0,r(t,e,n),s=i}l&&l.call(this,t,e,n)},o.shouldComponentUpdate=r}return a.__N||a.__}function y(t,e){var n=b(i++,3);!d.__s&&R(n.__H,e)&&(n.__=t,n.u=e,o.__H.__h.push(n))}function x(t,e){var n=b(i++,4);!d.__s&&R(n.__H,e)&&(n.__=t,n.u=e,o.__h.push(n))}function w(t){return l=5,A((function(){return{current:t}}),[])}function k(t,e,n){l=6,x((function(){if("function"==typeof t){var n=t(e());return function(){t(null),n&&"function"==typeof n&&n()}}if(t)return t.current=e(),function(){return t.current=null}}),null==n?n:n.concat(t))}function A(t,e){var n=b(i++,7);return R(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function S(t,e){return l=8,A((function(){return t}),e)}function C(t){var e=o.context[t.__c],n=b(i++,9);return n.c=t,e?(null==n.__&&(n.__=!0,e.sub(o)),e.props.value):t.__}function T(t,e){d.useDebugValue&&d.useDebugValue(e?e(t):t)}function I(){var t=b(i++,11);if(!t.__){for(var e=o.__v;null!==e&&!e.__m&&null!==e.__;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function M(){for(var t;t=c.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(L),t.__H.__h.forEach(P),t.__H.__h=[]}catch(e){t.__H.__h=[],d.__e(e,t.__v)}}d.__b=function(t){o=null,u&&u(t)},d.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),f&&f(t,e)},d.__r=function(t){h&&h(t),i=0;var e=(o=t.__c).__H;e&&(a===o?(e.__h=[],o.__h=[],e.__.forEach((function(t){t.__N&&(t.__=t.__N),t.u=t.__N=void 0}))):(e.__h.forEach(L),e.__h.forEach(P),e.__h=[],i=0)),a=o},d.diffed=function(t){p&&p(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==c.push(e)&&r===d.requestAnimationFrame||((r=d.requestAnimationFrame)||D)(M)),e.__H.__.forEach((function(t){t.u&&(t.__H=t.u),t.u=void 0}))),a=o=null},d.__c=function(t,e){e.some((function(t){try{t.__h.forEach(L),t.__h=t.__h.filter((function(t){return!t.__||P(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],d.__e(n,t.__v)}})),g&&g(t,e)},d.unmount=function(t){m&&m(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach((function(t){try{L(t)}catch(t){e=t}})),n.__H=void 0,e&&d.__e(e,n.__v))};var E="function"==typeof requestAnimationFrame;function D(t){var e,n=function(){clearTimeout(i),E&&cancelAnimationFrame(e),setTimeout(t)},i=setTimeout(n,100);E&&(e=requestAnimationFrame(n))}function L(t){var e=o,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),o=e}function P(t){var e=o;t.__c=t.__(),o=e}function R(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function N(t,e){return"function"==typeof e?e(t):e}},201:(t,e,n)=>{"use strict";n.d(e,{FD:()=>a,FK:()=>i.FK,Y:()=>a});var i=n(172);var o=0;Array.isArray;function a(t,e,n,a,r,s){e||(e={});var l,c,d=e;if("ref"in d)for(c in d={},e)"ref"==c?l=e[c]:d[c]=e[c];var u={type:t,props:d,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--o,__i:-1,__u:0,__source:r,__self:s};if("function"==typeof t&&(l=t.defaultProps))for(c in l)void 0===d[c]&&(d[c]=l[c]);return i.fF.vnode&&i.fF.vnode(u),u}},405:(t,e)=>{"use strict";var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler");Symbol.for("react.provider");var s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function f(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case o:case r:case a:case d:case u:case g:return t;default:switch(t=t&&t.$$typeof){case l:case c:case p:case h:case s:return t;default:return e}}case i:return e}}}e.Hy=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===r||t===a||t===d||t===u||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===h||t.$$typeof===l||t.$$typeof===s||t.$$typeof===c||t.$$typeof===m||void 0!==t.getModuleId)},e.QP=f},833:t=>{t.exports=function(t,e,n,i){var o=n?n.call(i,t,e):void 0;if(void 0!==o)return!!o;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var a=Object.keys(t),r=Object.keys(e);if(a.length!==r.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),l=0;l{"use strict";var e=[];function n(t){for(var n=-1,i=0;i{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},540:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},56:(t,e,n)=>{"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},825:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,o&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(i,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},113:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},568:(t,e,n)=>{"use strict";n.d(e,{AH:()=>_t,Ay:()=>Rt,i7:()=>Pt});var i=n(405),o=n(402),a=n(833),r=n.n(a);const s=function(t){function e(t,i,l,c,h){for(var p,g,m,f,y,w=0,k=0,A=0,S=0,C=0,L=0,R=m=p=0,F=0,O=0,B=0,U=0,Y=l.length,z=Y-1,j="",W="",V="",q="";Fp)&&(U=(j=j.replace(" ",":")).length),0i&&(i=(e=e.trim()).charCodeAt(0)),i){case 38:return e.replace(f,"$1"+t.trim());case 58:return t.trim()+e.replace(f,"$1"+t.trim());default:if(0<1*n&&0l.charCodeAt(8))break;case 115:r=r.replace(l,"-webkit-"+l)+";"+r;break;case 207:case 102:r=r.replace(l,"-webkit-"+(102i.charCodeAt(0)&&(i=i.trim()),i=[i],01?e-1:0),i=1;i0?" Args: "+n.join(", "):""))}var C=function(){function t(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}var e=t.prototype;return e.indexOfGroup=function(t){for(var e=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,i=n.length,o=i;t>=o;)(o<<=1)<0&&S(16,""+t);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=i;a=this.length||0===this.groupSizes[t])return e;for(var n=this.groupSizes[t],i=this.indexOfGroup(t),o=i+n,a=i;a=M&&(M=e+1),T.set(t,e),I.set(e,t)},P="style["+w+'][data-styled-version="5.3.11"]',R=new RegExp("^"+w+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),N=function(t,e,n){for(var i,o=n.split(","),a=0,r=o.length;a=0;n--){var i=e[n];if(i&&1===i.nodeType&&i.hasAttribute(w))return i}}(n),a=void 0!==o?o.nextSibling:null;i.setAttribute(w,"active"),i.setAttribute("data-styled-version","5.3.11");var r=O();return r&&i.setAttribute("nonce",r),n.insertBefore(i,a),i},U=function(){function t(t){var e=this.element=B(t);e.appendChild(document.createTextNode("")),this.sheet=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets,n=0,i=e.length;n=0){var n=document.createTextNode(e),i=this.nodes[t];return this.element.insertBefore(n,i||null),this.length++,!0}return!1},e.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.getRule=function(t){return t0&&(c+=t+",")})),i+=""+s+l+'{content:"'+c+'"}/*!sc*/\n'}}}return i}(this)},t}(),q=/(a)(d)/gi,H=function(t){return String.fromCharCode(t+(t>25?39:97))};function J(t){var e,n="";for(e=Math.abs(t);e>52;e=e/52|0)n=H(e%52)+n;return(H(e%52)+n).replace(q,"$1-$2")}var G=function(t,e){for(var n=e.length;n;)t=33*t^e.charCodeAt(--n);return t},Q=function(t){return G(5381,t)};function Z(t){for(var e=0;e>>0);if(!e.hasNameForId(i,r)){var s=n(a,"."+r,void 0,i);e.insertRules(i,r,s)}o.push(r),this.staticRulesId=r}else{for(var l=this.rules.length,c=G(this.baseHash,n.hash),d="",u=0;u>>0);if(!e.hasNameForId(i,m)){var f=n(d,"."+m,void 0,i);e.insertRules(i,m,f)}o.push(m)}}return o.join(" ")},t}(),$=/^\s*\/\/.*$/gm,tt=[":","[",".","#"];function et(t){var e,n,i,o,a=void 0===t?_:t,r=a.options,l=void 0===r?_:r,c=a.plugins,d=void 0===c?b:c,u=new s(l),h=[],p=function(t){function e(e){if(e)try{t(e+"}")}catch(t){}}return function(n,i,o,a,r,s,l,c,d,u){switch(n){case 1:if(0===d&&64===i.charCodeAt(0))return t(i+";"),"";break;case 2:if(0===c)return i+"/*|*/";break;case 3:switch(c){case 102:case 112:return t(o[0]+i),"";default:return i+(0===u?"/*|*/":"")}case-2:i.split("/*|*/}").forEach(e)}}}((function(t){h.push(t)})),g=function(t,i,a){return 0===i&&-1!==tt.indexOf(a[n.length])||a.match(o)?t:"."+e};function m(t,a,r,s){void 0===s&&(s="&");var l=t.replace($,""),c=a&&r?r+" "+a+" { "+l+" }":l;return e=s,n=a,i=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),u(r||!a?"":a,c)}return u.use([].concat(d,[function(t,e,o){2===t&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(i,g))},p,function(t){if(-2===t){var e=h;return h=[],e}}])),m.hash=d.length?d.reduce((function(t,e){return e.name||S(15),G(t,e.name)}),5381).toString():"",m}var nt=o.Ay.createContext(),it=(nt.Consumer,o.Ay.createContext()),ot=(it.Consumer,new V),at=et();function rt(){return(0,o.NT)(nt)||ot}function st(){return(0,o.NT)(it)||at}function lt(t){var e=(0,o.J0)(t.stylisPlugins),n=e[0],i=e[1],a=rt(),s=(0,o.Kr)((function(){var e=a;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[t.disableCSSOMInjection,t.sheet,t.target]),l=(0,o.Kr)((function(){return et({options:{prefix:!t.disableVendorPrefixes},plugins:n})}),[t.disableVendorPrefixes,n]);return(0,o.vJ)((function(){r()(n,t.stylisPlugins)||i(t.stylisPlugins)}),[t.stylisPlugins]),o.Ay.createElement(nt.Provider,{value:s},o.Ay.createElement(it.Provider,{value:l},t.children))}var ct=function(){function t(t,e){var n=this;this.inject=function(t,e){void 0===e&&(e=at);var i=n.name+e.hash;t.hasNameForId(n.id,i)||t.insertRules(n.id,i,e(n.rules,i,"@keyframes"))},this.toString=function(){return S(12,String(n.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=e}return t.prototype.getName=function(t){return void 0===t&&(t=at),this.name+t.hash},t}(),dt=/([A-Z])/,ut=/([A-Z])/g,ht=/^ms-/,pt=function(t){return"-"+t.toLowerCase()};function gt(t){return dt.test(t)?t.replace(ut,pt).replace(ht,"-ms-"):t}var mt=function(t){return null==t||!1===t||""===t};function ft(t,e,n,i){if(Array.isArray(t)){for(var o,a=[],r=0,s=t.length;r1?e-1:0),i=1;i?@[\\\]^`{|}~-]+/g,xt=/(^-|-$)/g;function wt(t){return t.replace(yt,"-").replace(xt,"")}var kt=function(t){return J(Q(t)>>>0)};function At(t){return"string"==typeof t&&!0}var St=function(t){return"function"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)},Ct=function(t){return"__proto__"!==t&&"constructor"!==t&&"prototype"!==t};function Tt(t,e,n){var i=t[n];St(e)&&St(i)?It(i,e):t[n]=e}function It(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i=0||(o[n]=t[n]);return o}(e,["componentId"]),a=i&&i+"-"+(At(t)?t:wt(y(t)));return Dt(t,g({},o,{attrs:f,componentId:a}),n)},Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?It({},t.defaultProps,e):e}}),Object.defineProperty(k,"toString",{value:function(){return"."+k.styledComponentId}}),a&&p()(k,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),k}var Lt=function(t){return function t(e,n,o){if(void 0===o&&(o=_),!(0,i.Hy)(n))return S(1,String(n));var a=function(){return e(n,o,_t.apply(void 0,arguments))};return a.withConfig=function(i){return t(e,n,g({},o,{},i))},a.attrs=function(i){return t(e,n,g({},o,{attrs:Array.prototype.concat(o.attrs,i).filter(Boolean)}))},a}(Dt,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(t){Lt[t]=Lt(t)}));!function(){function t(t,e){this.rules=t,this.componentId=e,this.isStatic=Z(t),V.registerId(this.componentId+1)}var e=t.prototype;e.createStyles=function(t,e,n,i){var o=i(ft(this.rules,e,n,i).join(""),""),a=this.componentId+t;n.insertRules(a,a,o)},e.removeStyles=function(t,e){e.clearRules(this.componentId+t)},e.renderStyles=function(t,e,n,i){t>2&&V.registerId(this.componentId+t),this.removeStyles(t,n),this.createStyles(t,e,n,i)}}();function Pt(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i"+e+""},this.getStyleTags=function(){return t.sealed?S(2):t._emitSheetCSS()},this.getStyleElement=function(){var e;if(t.sealed)return S(2);var n=((e={})[w]="",e["data-styled-version"]="5.3.11",e.dangerouslySetInnerHTML={__html:t.instance.toString()},e),i=O();return i&&(n.nonce=i),[o.Ay.createElement("style",g({},n,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new V({isServer:!0}),this.sealed=!1}var e=t.prototype;e.collectStyles=function(t){return this.sealed?S(2):o.Ay.createElement(lt,{sheet:this.instance},t)},e.interleaveWithNodeStream=function(t){return S(3)}}();const Rt=Lt},99:t=>{"use strict";t.exports="data:font/woff;base64,d09GRk9UVE8AAAa8AAsAAAAAClgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAADXAAAAxcAAAS1utc4DkZGVE0AAAaMAAAAHAAAAByMPVczR0RFRgAABnQAAAAYAAAAHAAVABRPUy8yAAABaAAAAEsAAABgWFNjvWNtYXAAAALkAAAAXQAAAWIC3BADaGVhZAAAAQgAAAA2AAAANhXceA9oaGVhAAABQAAAAB4AAAAkBhADwmhtdHgAAAaoAAAAFAAAABQL1QTAbWF4cAAAAWAAAAAGAAAABgAIUABuYW1lAAABtAAAATAAAAJPca0oJ3Bvc3QAAANEAAAAFgAAACD/uAAzAAEAAAABAADiPyIWXw889QALA+gAAAAA2T/4swAAAADZlDwaALv/1wMuAoYAAAAIAAIAAAAAAAB4nGNgZGBgavt/nSGK+QUDEDDrMTAyoAImAGsrA9kAAAAAUAAACAAAeJxjYGF+wTiBgZWBgamLaQ8DA0MPhGZ8wGDIyAQUZWDlZIABRgYkEJDmmsLQwODIkMGs8N+CIYqpjUETpoYplCmPQQEIGQFs5wvCAHicbY7NagIxFIW/+Ad2YUsfQLLU4gxRV0pxI7h0VdwVKtMwDshEx3EhfYCuuuiL9KX6Ir0TQ5HWQLhfbs695wAdvlCcT5dZYEWbfeAaTd4D13ngO3CDWxUHbnKnXgK3pP8pStVoy+vRT1WsuOc5cI0b3gLXeeIjcIOu6gRuotUscEv6e+Y4dpwoyEjZUKLpkdCXOsIwZMJAeInlKCrHVm4q6gTmbncqsnRT6l7S1yMznAz00h4Lt3VpJv/5xZBlzau0/LddC1YrnGgOgonLpSz8u/S1EBPrQ8QSQzOV+3+fvthy1oyJJHL0G56Fy8uFK1KrR7HRU/2bQHtX6YyjSVSFvxb40oA/o7ASVSE/mVdosaxMY1+r0Kxscchcro0ZxsYYfc0iumoRnS1+AIo6YiV4nGNgYGBmgGAZBkYGEIgB8hjBfBYGByDNw8DBwARkOzMEMoQwpDJk/P8PFHVE8P4f+L/5/8b/C//Ph5oAB4xsDOhCpANGJmYUPgsDAyu6GqA97JTaQyMAACwlEOYAAAB4nGNgZgCD/1sZjIAUIwMaAAAs0wHrAAB4nJ1TS0hUYRQ+987T2/gYc2zAiSaLsKgo6b26FBYRvRYteoiJSQnhlBliRd4iWjRRREWbiF4uija9FmJDF6KoaBm9SFsYmIZjmjPdCfH0nftPLlt0F4fvP/f/zuP7z9HI6yVN00qaGw+3JPY31u9Z0NSQaD5Emk4aLXSKyanQnJjuTPc4Ue/ZkPZrc33uWa7CF6PzxTGikhhdC8eoNOY5XUoe4cyghbR8TeJAe0vT3n2t8aqGufHqRYtXzo9vcjMk9jY1TOaKu7kmj4SvkmbRbKqmpbSW1lNQIlbScq1Ot/TL+l39qf42mXJqUloqlXuU8qTKf0edOxNRf2q8LeLU5B6N1wSKWN92dE+bxtqlXyZwux2JG5NO3Z5jKSczd9tMSAB0wQIiG+gJJZl/Phab3mAx5+6bzNkjuOSssoI88T6Gc+Q6+ZhH+wEzt8DK1AENGkIa3qisyWRct10vU2FULt0CX6vqs/N8KrgEFiRmCn+RTOeAQgfNJFOlZcPGUJAYcZxAVAovQRljH1FreS2oo6uBjB2IypF54HbtwP3BdwohfuEp+b8TTsNBOeWr3BgBC3ZmBgm/HoS3glFP7xRR4owVhE7D0EI/fZUg0HcLWfgzTP9JZB5ZAVJ2K+4PpU1IkTUtnpj5GufjO5H03ksTomS6ELTYB+e3PqDQYrCH3iAn93SIMn1sumbS8bMTXH8tCOmVQIEPoncrBZm6t8Dp+yFSGduRenSedLEf/8eeo7PwOpGqbJt0Fe0AtSgBb8En0fMV6tNWXLRZr74hUnivgBoYh/F0odXCjJAKlpGSVlXl6o2ipDTuscW+lIkQgXB2UfDf0/Wfzt/HypKRZNIZSPqTIQPrNNXdP22aehnmw/nX4q8k1fUaomfasdTL8sALUq/Nmdto3J0BXttpqrkQ5FPTwplOS00QD9yUDtNvSD1EvntXBzV9ahJlMsnfQmpaKTBC+Rmmwd3yMDLZZOyy1LRTJCuSljyQACUPSW2GeNW24KaZ3yHFdzeLAnhOd9vIv8n+u31qE2Uz8ZlqW/FRcMofyYNZNwB4nGNgZIAAHgYRBhYgzQTEjBAMAALLACoAAAABAAAAANlpImUAAAAA2T/4swAAAADZlDwaA+gAAAPoAVcBVwC7AVcBVwFXAVc="},881:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAB7SURBVFiF7dexCoAgFIXhW/R4bRYO9fj1FEV/i+BiUEPdkHPAxeV8oMjVTHkQoAfWtIIHYCFnA6In4HsEEFKpK2IoIHZgFkIIIYRIiFhAfP5Y3Ua0LxmOwl5jZt1LfTmuRwCMF5dwUrnKVV5Nue9Qyg/GcvePie/XrMqcOOCgDspkl64AAAAASUVORK5CYII="},996:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAACMSURBVFiF7ZdRC0AwFEYv+Xne0B74+fwKcrwoysWwGrlf7WWn9p3aWpuIRQmQA908iqs8hEDLkh5wV3hogU3JGQ8hUMyLqiVnPJREqZQMQOPDTcIkTOIXEk4pWV9Wh/w1EulDh1GZS0Qk8+T3E3ULgGrnkNU+3Mqt3Mo/UR73UcoLnuXRPyZxv2a/ygRSxkAo9hmBFQAAAABJRU5ErkJggg=="},720:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFzSURBVGiB7dkxa9ZQFAbgk9LFycGhg4g6ODpUunXs0PoDtODgIvgX3J2k/0DoIA5uOtil0Klbl24iFDp1KwgODkVUHpeGihb7ff1uvJF7HsiYw3lJbnJzEpFSSimllFJKKZWHRbzCA3S1+xkcdpzZx/3aPQ0K7/xpF8u1exsENs4J3NvBvdo9FoWnfwkMP/AGd2r3WgRWLgjc+4bXuFW755ng5oSBe1/xEgu1e78UzOFkytDwBS9wtXaGqeHjJQL3PuEZrtTOMTG8nyFw7whPMF+yt7mSxX5xWKDGjYjYjIgPeGjMuzY8KnCFf7ePtdrZzoUOj/EWnwsHH/euDfNYxnPs4Xuh4Fu4O20//3xd4FpErETE6ulxfYZyJxFxu+u640lPGOqh1a6x3dKD0NpDy4hfS0Ot4aWCtQ4iYj0ilrqu2y5Ytxwj3loOQksfD1r7PNTgAKC5EU9zQ7zmxrTNDeKb+9XS1s+0lFJKKaWUUkr/o581mM0INt+/SAAAAABJRU5ErkJggg=="},695:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAMvSURBVHic7ZpPi9NAGMafbKtbd6vrrn8KXqTYo5dlv4D3epBC8SuIJ2/2c4i3eigFpVfBuyctpVePS0vBq4UeSui/vB6aMZPZzGTiip1J5wcvmSaTJc+T951MZgM4HA6HY3/xwpBB/+tCdkWaASK5MySrATy5MOM6BjCsNsIDcKDRT0eklUZ4AAqSYzJBaUKtMoI3gC+FJBHiPpVQa0woInkMSBsXiOuTJFZ1zCg8ADc0+lHGtuxc4+AzQLzrsjLwhDbr50nOke03AmaArAxEcWxLCeeIhlhBEfHHoFi7aXeVFy1uk/obhywDxDRnbVVZWGnCge/775vN5iG2mSALZpL4mzdPtjUbIqLVavW90+k8AXDCxZ0wbodRBnAM4AjALQAlAIcAbmL7JCmGUQgjySjzTKGQzWbzs9/vPwNwGsbdMJgZzAhdE1TZYgweEf2pSyKaj0aj17Va7QvXhyQRKI4Rdy6/heT37qCrBNPp9F2lUnkI4D6AewDOEGUFy4Yy1JlgRxYkGEBERPP5/HOj0XgM4AEiI0QT+HJQlYJ9BhARLZfLH+12+wJ6JtiZBSoDwsHx12AweAGAlQQrhxNcLYUkA8zOgjQDiIiCIFiMx+M3iDLhDOossKcMdAxgzGaz7vn5+SNEpSBmQZYyMIMsBhAR+b7/tdVq1RDPgrQyyI8BRETr9fqy2+0+RdyAY1hoQGwilIXFYvGtVCo9RzQhCoS2amIktneGzoqwDCMEXJe/MmCz2Vz2er1X3C7j7qw2bhDMQB4fg0WdTkS0nEwmb6vV6kekD24QjkHSxwhSx4AgCKbD4fBltVr9BL3XYLvGA1XK7/XL0D6/Du/VgkhsEKR/vyRmPuy27+uiqFsW933/Q71eP0UklI8y4sKziDf/7mN7UUeQX5z4TBcnP6olcJ2PLHZOEXERSR82qARaLR7YGhBA/kWHzAgdg2R/xyj4DFB9IKFa0LBr6ivADADUFy8TqSPeaFN4A9LIKjztmBEUkPz/fJ06tlo4g58K6wpME2eNeCCeASp0RFklnCH7TDYLVgpnaC2JSbBaOCOrAbkQzZNmQO4EOxwOh8MR8RsgtSyqPuIxtgAAAABJRU5ErkJggg=="},728:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(402),o={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};const a=(t,e,n,a)=>{const r=(0,i.Rf)((({color:n="currentColor",size:r=24,stroke:s=2,title:l,className:c,children:d,...u},h)=>(0,i.n)("svg",{ref:h,...o[t],width:r,height:r,className:["tabler-icon",`tabler-icon-${e}`,c].join(" "),..."filled"===t?{fill:n}:{strokeWidth:s,stroke:n},...u},[l&&(0,i.n)("title",{key:"svg-title"},l),...a.map((([t,e])=>(0,i.n)(t,e))),...Array.isArray(d)?d:[d]])));return r.displayName=`${n}`,r}}},i={};function o(t){var e=i[t];if(void 0!==e)return e.exports;var a=i[t]={id:t,exports:{}};return n[t](a,a.exports,o),a.exports}o.m=n,o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,n)=>(o.f[n](t,e),e)),[])),o.u=t=>{if(101===t)return"chunks/b641ce74f362b637f9e0352231a084983d565d50.js"},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="leadster-client:",o.l=(n,i,a,r)=>{if(t[n])t[n].push(i);else{var s,l;if(void 0!==a)for(var c=document.getElementsByTagName("script"),d=0;d{s.onerror=s.onload=null,clearTimeout(p);var o=t[n];if(delete t[n],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((t=>t(i))),e)return e(i)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),l&&document.head.appendChild(s)}},o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.p="https://cdn.leadster.com.br/neurolead/",(()=>{o.b=document.baseURI||self.location.href;var t={792:0};o.f.j=(e,n)=>{var i=o.o(t,e)?t[e]:void 0;if(0!==i)if(i)n.push(i[2]);else{var a=new Promise(((n,o)=>i=t[e]=[n,o]));n.push(i[2]=a);var r=o.p+o.u(e),s=new Error;o.l(r,(n=>{if(o.o(t,e)&&(0!==(i=t[e])&&(t[e]=void 0),i)){var a=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",s.name="ChunkLoadError",s.type=a,s.request=r,i[1](s)}}),"chunk-"+e,e)}};var e=(e,n)=>{var i,a,r=n[0],s=n[1],l=n[2],c=0;if(r.some((e=>0!==t[e]))){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);if(l)l(o)}for(e&&e(n);c{"use strict";var t={};o.r(t),o.d(t,{hasBrowserEnv:()=>Zt,hasStandardBrowserEnv:()=>Xt,hasStandardBrowserWebWorkerEnv:()=>$t,navigator:()=>Kt,origin:()=>te});var e=o(72),n=o.n(e),i=o(825),a=o.n(i),r=o(659),s=o.n(r),l=o(56),c=o.n(l),d=o(540),u=o.n(d),h=o(113),p=o.n(h),g=o(575),m={};m.styleTagTransform=p(),m.setAttributes=c(),m.insert=s().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=u();n()(g.A,m);g.A&&g.A.locals&&g.A.locals;var f=o(214),b={};b.styleTagTransform=p(),b.setAttributes=c(),b.insert=s().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=u();n()(f.A,b);f.A&&f.A.locals&&f.A.locals;var _=o(172),v=o(357);function y(){const t=window.location.href,e=["localhost:3000/capture","devs.leadster.com.br/capture","devs.getleadster.com/capture","qa.leadster.com.br/capture","app.leadster.com.br/capture","qa.getleadster.com/capture","app.getleadster.com/capture"];for(let n=0;n{t.areaCodes?t.areaCodes.map((e=>{I[t.dialCode+e]={iso2:t.iso2}})):I[t.dialCode]={iso2:t.iso2}}));class M extends _.uA{constructor(t){super(t),this.countriesListContent=(0,_._3)(),this.showCountriesList=this.showCountriesList.bind(this),this.renderFlagRow=this.renderFlagRow.bind(this),this.searchCountry=this.searchCountry.bind(this),this.getIsoByDialCode=this.getIsoByDialCode.bind(this),this.setFlagByInput=this.setFlagByInput.bind(this),this.selectedColor=t.selectedColor,this.ddi=t.ddi}getIsoByDialCode(t){const e=I[t];if(e)return e.iso2;const n=t.length;if(n>2){const e=t.substring(0,n-1);return this.getIsoByDialCode(e)}return 2===n?this.getIsoByDialCode(t.charAt(0)):""}showCountriesList(){const t=this.countriesListContent.current;"block"===t.style.display?t.style.display="none":t.style.display="block"}renderFlagRow(t){const e="a_iti_flag_"+t.name[0].toLowerCase();return(0,x.Y)("a",{className:e,iso:t.iso2,onClick:(t=>()=>{document.getElementById("nld-chatbot__country_btn_flag").className="iti__flag iti__"+t.iso2,this.countriesListContent.current.style.display="none",document.getElementById("intl_phone").value=" +"+t.dialCode})(t),children:(0,x.FD)("div",{className:"iti__flag-country",children:[(0,x.Y)("div",{className:"iti__flag-box",children:(0,x.Y)("div",{className:"iti__flag iti__"+t.iso2})}),(0,x.FD)("span",{className:"iti__country-name",children:[" ",t.name," "]}),(0,x.FD)("span",{className:"iti__dial-code",children:[" +",t.dialCode," "]})]})})}searchCountry(t){const e=this.countriesListContent.current;if(e&&"block"===e.style.display){const e=String.fromCharCode(t.charCode).toLocaleLowerCase(),n=document.querySelector('[class^="a_iti_flag_'+e+'"]');n&&n.scrollIntoView()}}setFlagByInput(){const t=document.getElementById("intl_phone");if(!t)return 0;const e=t.value.replace(/\D/g,"").substring(0,7),n=this.getIsoByDialCode(e);document.getElementById("nld-chatbot__country_btn_flag").className="iti__flag iti__"+n}componentDidMount(){document.body.addEventListener("keypress",this.searchCountry),document.getElementById("intl_phone").addEventListener("input",this.setFlagByInput)}componentWillUnmount(){document.body.removeEventListener("keypress",this.searchCountry)}render(){const t=this.getIsoByDialCode(this.ddi);return(0,x.FD)("div",{children:[(0,x.FD)("button",{class:"countries_list_btn",id:"countrybtn",onClick:this.showCountriesList,children:[(0,x.Y)("div",{class:"iti__flag iti__"+t,id:"nld-chatbot__country_btn_flag"}),(0,x.Y)("i",{class:"arrow down"})]}),(0,x.Y)("div",{ref:this.countriesListContent,getDDI:!0,className:"countries_list_content",style:{borderColor:this.selectedColor},children:S.map(this.renderFlagRow)})]})}}class E{setItem(t,e){localStorage&&localStorage.setItem&&localStorage.setItem(t,JSON.stringify(e))}getItem(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(localStorage&&localStorage.getItem){return JSON.parse(localStorage.getItem(t))||e}}}class D extends _.uA{loadJSON(t){return new Promise((function(e,n){const i=new E,o=i.getItem("state_cities_list");o&&e(o);let a=new XMLHttpRequest;a.open("GET",t,!0),a.onload=function(){var t=a.status;if(200==t){const t=JSON.parse(a.responseText);i.setItem("state_cities_list",t),e(t)}else n(t)},a.send()}))}async getList(){return this.loadJSON("https://cdn.leadster.com.br/leadster/state_cities.json")}setOption(t){return(0,x.FD)("option",{value:t,children:[" ",t," "]})}constructor(t){super(t),this.loadJSON.bind(this),this.getList.bind(this)}}class L extends D{constructor(t){super(t),this.state={statesList:[]}}componentDidMount(){this.getList().then((t=>{this.setState({statesList:Object.keys(t).sort()})}))}render(){const{statesList:t}=this.state;return(0,x.Y)("datalist",{id:"neuroled_location_list",children:t.map((t=>this.setOption(t)))})}}class P extends D{constructor(t){super(t),this.state={citiesList:[]}}componentDidMount(){this.getList().then((t=>{let e=[];t[this.props.state_name].cities.map((t=>{e.push(`${t}`)})),this.setState({citiesList:e.sort()})}))}render(){const{citiesList:t}=this.state;return(0,x.Y)("datalist",{id:"neuroled_location_list",children:t.map((t=>this.setOption(t)))})}}var R=o(994),N=o(568);const F=N.Ay.div.withConfig({displayName:"styles__Select",componentId:"sc-168602q-0"})(["&&{width:100%;position:absolute;bottom:48px;left:0;background-color:#ffffff;max-height:380px;overflow-y:auto;}&&::-webkit-scrollbar-thumb{-webkit-appearance:none;width:6px;height:6px;border:1px solid ",";background-color:#ffffff;}&&::-webkit-scrollbar-track{background:",";}&&::-webkit-scrollbar{width:6px;background-color:",";}"],(t=>t.themeColor||"#2196f3"),(t=>t.themeColor||"#2196f3"),(t=>t.themeColor||"#2196f3")),O=N.Ay.div.withConfig({displayName:"styles__List",componentId:"sc-168602q-1"})(["&&{list-style:none;}"]),B=N.Ay.div.withConfig({displayName:"styles__Title",componentId:"sc-168602q-2"})(["&&{position:sticky;top:0;left:0;padding:12px;border-bottom:1px solid #f9f9f9;background-color:#f9f9f9;font-weight:900;}"]),U=N.Ay.div.withConfig({displayName:"styles__Item",componentId:"sc-168602q-3"})(["&&{padding:12px;border-bottom:1px solid #f9f9f9;cursor:pointer;transition:all .3s ease;}&&:hover{background-color:",";color:#fff;}"],(t=>t.themeColor||"#2196f3")),Y=t=>{let e=document.createElement("textarea");return e.innerText=t,e.innerHTML},z=t=>t&&0!==t?.length?t.normalize("NFD").replace(/([\u0300-\u036f]|[^0-9a-zA-Z])/g,""):t;function j(t,e){return function(){return t.apply(e,arguments)}}const{toString:W}=Object.prototype,{getPrototypeOf:V}=Object,{iterator:q,toStringTag:H}=Symbol,J=(G=Object.create(null),t=>{const e=W.call(t);return G[e]||(G[e]=e.slice(8,-1).toLowerCase())});var G;const Q=t=>(t=t.toLowerCase(),e=>J(e)===t),Z=t=>e=>typeof e===t,{isArray:K}=Array,X=Z("undefined");const $=Q("ArrayBuffer");const tt=Z("string"),et=Z("function"),nt=Z("number"),it=t=>null!==t&&"object"==typeof t,ot=t=>{if("object"!==J(t))return!1;const e=V(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||H in t||q in t)},at=Q("Date"),rt=Q("File"),st=Q("Blob"),lt=Q("FileList"),ct=Q("URLSearchParams"),[dt,ut,ht,pt]=["ReadableStream","Request","Response","Headers"].map(Q);function gt(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let i,o;if("object"!=typeof t&&(t=[t]),K(t))for(i=0,o=t.length;i0;)if(i=n[o],e===i.toLowerCase())return i;return null}const ft="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,bt=t=>!X(t)&&t!==ft;const _t=(vt="undefined"!=typeof Uint8Array&&V(Uint8Array),t=>vt&&t instanceof vt);var vt;const yt=Q("HTMLFormElement"),xt=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),wt=Q("RegExp"),kt=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};gt(n,((n,o)=>{let a;!1!==(a=e(n,o,t))&&(i[o]=a||n)})),Object.defineProperties(t,i)};const At=Q("AsyncFunction"),St=(Ct="function"==typeof setImmediate,Tt=et(ft.postMessage),Ct?setImmediate:Tt?(It=`axios@${Math.random()}`,Mt=[],ft.addEventListener("message",(({source:t,data:e})=>{t===ft&&e===It&&Mt.length&&Mt.shift()()}),!1),t=>{Mt.push(t),ft.postMessage(It,"*")}):t=>setTimeout(t));var Ct,Tt,It,Mt;const Et="undefined"!=typeof queueMicrotask?queueMicrotask.bind(ft):"undefined"!=typeof process&&process.nextTick||St,Dt={isArray:K,isArrayBuffer:$,isBuffer:function(t){return null!==t&&!X(t)&&null!==t.constructor&&!X(t.constructor)&&et(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||et(t.append)&&("formdata"===(e=J(t))||"object"===e&&et(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&$(t.buffer),e},isString:tt,isNumber:nt,isBoolean:t=>!0===t||!1===t,isObject:it,isPlainObject:ot,isReadableStream:dt,isRequest:ut,isResponse:ht,isHeaders:pt,isUndefined:X,isDate:at,isFile:rt,isBlob:st,isRegExp:wt,isFunction:et,isStream:t=>it(t)&&et(t.pipe),isURLSearchParams:ct,isTypedArray:_t,isFileList:lt,forEach:gt,merge:function t(){const{caseless:e}=bt(this)&&this||{},n={},i=(i,o)=>{const a=e&&mt(n,o)||o;ot(n[a])&&ot(i)?n[a]=t(n[a],i):ot(i)?n[a]=t({},i):K(i)?n[a]=i.slice():n[a]=i};for(let t=0,e=arguments.length;t(gt(e,((e,i)=>{n&&et(e)?t[i]=j(e,n):t[i]=e}),{allOwnKeys:i}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,i)=>{let o,a,r;const s={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),a=o.length;a-- >0;)r=o[a],i&&!i(r,t,e)||s[r]||(e[r]=t[r],s[r]=!0);t=!1!==n&&V(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:J,kindOfTest:Q,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return-1!==i&&i===n},toArray:t=>{if(!t)return null;if(K(t))return t;let e=t.length;if(!nt(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[q]).call(t);let i;for(;(i=n.next())&&!i.done;){const n=i.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const i=[];for(;null!==(n=t.exec(e));)i.push(n);return i},isHTMLForm:yt,hasOwnProperty:xt,hasOwnProp:xt,reduceDescriptors:kt,freezeMethods:t=>{kt(t,((e,n)=>{if(et(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=t[n];et(i)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},i=t=>{t.forEach((t=>{n[t]=!0}))};return K(t)?i(t):i(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:mt,global:ft,isContextDefined:bt,isSpecCompliantForm:function(t){return!!(t&&et(t.append)&&"FormData"===t[H]&&t[q])},toJSONObject:t=>{const e=new Array(10),n=(t,i)=>{if(it(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[i]=t;const o=K(t)?[]:{};return gt(t,((t,e)=>{const a=n(t,i+1);!X(a)&&(o[e]=a)})),e[i]=void 0,o}}return t};return n(t,0)},isAsyncFn:At,isThenable:t=>t&&(it(t)||et(t))&&et(t.then)&&et(t.catch),setImmediate:St,asap:Et,isIterable:t=>null!=t&&et(t[q])};function Lt(t,e,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}Dt.inherits(Lt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Dt.toJSONObject(this.config),code:this.code,status:this.status}}});const Pt=Lt.prototype,Rt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{Rt[t]={value:t}})),Object.defineProperties(Lt,Rt),Object.defineProperty(Pt,"isAxiosError",{value:!0}),Lt.from=(t,e,n,i,o,a)=>{const r=Object.create(Pt);return Dt.toFlatObject(t,r,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),Lt.call(r,t.message,e,n,i,o),r.cause=t,r.name=t.name,a&&Object.assign(r,a),r};const Nt=Lt;function Ft(t){return Dt.isPlainObject(t)||Dt.isArray(t)}function Ot(t){return Dt.endsWith(t,"[]")?t.slice(0,-2):t}function Bt(t,e,n){return t?t.concat(e).map((function(t,e){return t=Ot(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const Ut=Dt.toFlatObject(Dt,{},null,(function(t){return/^is[A-Z]/.test(t)}));const Yt=function(t,e,n){if(!Dt.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const i=(n=Dt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!Dt.isUndefined(e[t])}))).metaTokens,o=n.visitor||c,a=n.dots,r=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Dt.isSpecCompliantForm(e);if(!Dt.isFunction(o))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(Dt.isDate(t))return t.toISOString();if(!s&&Dt.isBlob(t))throw new Nt("Blob is not supported. Use a Buffer instead.");return Dt.isArrayBuffer(t)||Dt.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function c(t,n,o){let s=t;if(t&&!o&&"object"==typeof t)if(Dt.endsWith(n,"{}"))n=i?n:n.slice(0,-2),t=JSON.stringify(t);else if(Dt.isArray(t)&&function(t){return Dt.isArray(t)&&!t.some(Ft)}(t)||(Dt.isFileList(t)||Dt.endsWith(n,"[]"))&&(s=Dt.toArray(t)))return n=Ot(n),s.forEach((function(t,i){!Dt.isUndefined(t)&&null!==t&&e.append(!0===r?Bt([n],i,a):null===r?n:n+"[]",l(t))})),!1;return!!Ft(t)||(e.append(Bt(o,n,a),l(t)),!1)}const d=[],u=Object.assign(Ut,{defaultVisitor:c,convertValue:l,isVisitable:Ft});if(!Dt.isObject(t))throw new TypeError("data must be an object");return function t(n,i){if(!Dt.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+i.join("."));d.push(n),Dt.forEach(n,(function(n,a){!0===(!(Dt.isUndefined(n)||null===n)&&o.call(e,n,Dt.isString(a)?a.trim():a,i,u))&&t(n,i?i.concat(a):[a])})),d.pop()}}(t),e};function zt(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function jt(t,e){this._pairs=[],t&&Yt(t,this,e)}const Wt=jt.prototype;Wt.append=function(t,e){this._pairs.push([t,e])},Wt.toString=function(t){const e=t?function(e){return t.call(this,e,zt)}:zt;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const Vt=jt;function qt(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ht(t,e,n){if(!e)return t;const i=n&&n.encode||qt;Dt.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let a;if(a=o?o(e,n):Dt.isURLSearchParams(e)?e.toString():new Vt(e,n).toString(i),a){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}const Jt=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Dt.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},Gt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Qt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Vt,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Zt="undefined"!=typeof window&&"undefined"!=typeof document,Kt="object"==typeof navigator&&navigator||void 0,Xt=Zt&&(!Kt||["ReactNative","NativeScript","NS"].indexOf(Kt.product)<0),$t="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,te=Zt&&window.location.href||"http://localhost",ee={...t,...Qt};const ne=function(t){function e(t,n,i,o){let a=t[o++];if("__proto__"===a)return!0;const r=Number.isFinite(+a),s=o>=t.length;if(a=!a&&Dt.isArray(i)?i.length:a,s)return Dt.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!r;i[a]&&Dt.isObject(i[a])||(i[a]=[]);return e(t,n,i[a],o)&&Dt.isArray(i[a])&&(i[a]=function(t){const e={},n=Object.keys(t);let i;const o=n.length;let a;for(i=0;i{e(function(t){return Dt.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),i,n,0)})),n}return null};const ie={transitional:Gt,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",i=n.indexOf("application/json")>-1,o=Dt.isObject(t);o&&Dt.isHTMLForm(t)&&(t=new FormData(t));if(Dt.isFormData(t))return i?JSON.stringify(ne(t)):t;if(Dt.isArrayBuffer(t)||Dt.isBuffer(t)||Dt.isStream(t)||Dt.isFile(t)||Dt.isBlob(t)||Dt.isReadableStream(t))return t;if(Dt.isArrayBufferView(t))return t.buffer;if(Dt.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return Yt(t,new ee.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,i){return ee.isNode&&Dt.isBuffer(t)?(this.append(e,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((a=Dt.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Yt(a?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||i?(e.setContentType("application/json",!1),function(t,e,n){if(Dt.isString(t))try{return(e||JSON.parse)(t),Dt.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||ie.transitional,n=e&&e.forcedJSONParsing,i="json"===this.responseType;if(Dt.isResponse(t)||Dt.isReadableStream(t))return t;if(t&&Dt.isString(t)&&(n&&!this.responseType||i)){const n=!(e&&e.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw Nt.from(t,Nt.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ee.classes.FormData,Blob:ee.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Dt.forEach(["delete","get","head","post","put","patch"],(t=>{ie.headers[t]={}}));const oe=ie,ae=Dt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),re=Symbol("internals");function se(t){return t&&String(t).trim().toLowerCase()}function le(t){return!1===t||null==t?t:Dt.isArray(t)?t.map(le):String(t)}function ce(t,e,n,i,o){return Dt.isFunction(i)?i.call(this,e,n):(o&&(e=n),Dt.isString(e)?Dt.isString(i)?-1!==e.indexOf(i):Dt.isRegExp(i)?i.test(e):void 0:void 0)}class de{constructor(t){t&&this.set(t)}set(t,e,n){const i=this;function o(t,e,n){const o=se(e);if(!o)throw new Error("header name must be a non-empty string");const a=Dt.findKey(i,o);(!a||void 0===i[a]||!0===n||void 0===n&&!1!==i[a])&&(i[a||e]=le(t))}const a=(t,e)=>Dt.forEach(t,((t,n)=>o(t,n,e)));if(Dt.isPlainObject(t)||t instanceof this.constructor)a(t,e);else if(Dt.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))a((t=>{const e={};let n,i,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),n=t.substring(0,o).trim().toLowerCase(),i=t.substring(o+1).trim(),!n||e[n]&&ae[n]||("set-cookie"===n?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)})),e})(t),e);else if(Dt.isObject(t)&&Dt.isIterable(t)){let n,i,o={};for(const e of t){if(!Dt.isArray(e))throw TypeError("Object iterator must return a key-value pair");o[i=e[0]]=(n=o[i])?Dt.isArray(n)?[...n,e[1]]:[n,e[1]]:e[1]}a(o,e)}else null!=t&&o(e,t,n);return this}get(t,e){if(t=se(t)){const n=Dt.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}(t);if(Dt.isFunction(e))return e.call(this,t,n);if(Dt.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=se(t)){const n=Dt.findKey(this,t);return!(!n||void 0===this[n]||e&&!ce(0,this[n],n,e))}return!1}delete(t,e){const n=this;let i=!1;function o(t){if(t=se(t)){const o=Dt.findKey(n,t);!o||e&&!ce(0,n[o],o,e)||(delete n[o],i=!0)}}return Dt.isArray(t)?t.forEach(o):o(t),i}clear(t){const e=Object.keys(this);let n=e.length,i=!1;for(;n--;){const o=e[n];t&&!ce(0,this[o],o,t,!0)||(delete this[o],i=!0)}return i}normalize(t){const e=this,n={};return Dt.forEach(this,((i,o)=>{const a=Dt.findKey(n,o);if(a)return e[a]=le(i),void delete e[o];const r=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(o):String(o).trim();r!==o&&delete e[o],e[r]=le(i),n[r]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return Dt.forEach(this,((n,i)=>{null!=n&&!1!==n&&(e[i]=t&&Dt.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[re]=this[re]={accessors:{}}).accessors,n=this.prototype;function i(t){const i=se(t);e[i]||(!function(t,e){const n=Dt.toCamelCase(" "+e);["get","set","has"].forEach((i=>{Object.defineProperty(t,i+n,{value:function(t,n,o){return this[i].call(this,e,t,n,o)},configurable:!0})}))}(n,t),e[i]=!0)}return Dt.isArray(t)?t.forEach(i):i(t),this}}de.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Dt.reduceDescriptors(de.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),Dt.freezeMethods(de);const ue=de;function he(t,e){const n=this||oe,i=e||n,o=ue.from(i.headers);let a=i.data;return Dt.forEach(t,(function(t){a=t.call(n,a,o.normalize(),e?e.status:void 0)})),o.normalize(),a}function pe(t){return!(!t||!t.__CANCEL__)}function ge(t,e,n){Nt.call(this,null==t?"canceled":t,Nt.ERR_CANCELED,e,n),this.name="CanceledError"}Dt.inherits(ge,Nt,{__CANCEL__:!0});const me=ge;function fe(t,e,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(new Nt("Request failed with status code "+n.status,[Nt.ERR_BAD_REQUEST,Nt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}const be=function(t,e){t=t||10;const n=new Array(t),i=new Array(t);let o,a=0,r=0;return e=void 0!==e?e:1e3,function(s){const l=Date.now(),c=i[r];o||(o=l),n[a]=s,i[a]=l;let d=r,u=0;for(;d!==a;)u+=n[d++],d%=t;if(a=(a+1)%t,a===r&&(r=(r+1)%t),l-o{o=a,n=null,i&&(clearTimeout(i),i=null),t.apply(null,e)};return[(...t)=>{const e=Date.now(),s=e-o;s>=a?r(t,e):(n=t,i||(i=setTimeout((()=>{i=null,r(n)}),a-s)))},()=>n&&r(n)]},ve=(t,e,n=3)=>{let i=0;const o=be(50,250);return _e((n=>{const a=n.loaded,r=n.lengthComputable?n.total:void 0,s=a-i,l=o(s);i=a;t({loaded:a,total:r,progress:r?a/r:void 0,bytes:s,rate:l||void 0,estimated:l&&r&&a<=r?(r-a)/l:void 0,event:n,lengthComputable:null!=r,[e?"download":"upload"]:!0})}),n)},ye=(t,e)=>{const n=null!=t;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},xe=t=>(...e)=>Dt.asap((()=>t(...e))),we=ee.hasStandardBrowserEnv?(ke=new URL(ee.origin),Ae=ee.navigator&&/(msie|trident)/i.test(ee.navigator.userAgent),t=>(t=new URL(t,ee.origin),ke.protocol===t.protocol&&ke.host===t.host&&(Ae||ke.port===t.port))):()=>!0;var ke,Ae;const Se=ee.hasStandardBrowserEnv?{write(t,e,n,i,o,a){const r=[t+"="+encodeURIComponent(e)];Dt.isNumber(n)&&r.push("expires="+new Date(n).toGMTString()),Dt.isString(i)&&r.push("path="+i),Dt.isString(o)&&r.push("domain="+o),!0===a&&r.push("secure"),document.cookie=r.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Ce(t,e,n){let i=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);return t&&(i||0==n)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Te=t=>t instanceof ue?{...t}:t;function Ie(t,e){e=e||{};const n={};function i(t,e,n,i){return Dt.isPlainObject(t)&&Dt.isPlainObject(e)?Dt.merge.call({caseless:i},t,e):Dt.isPlainObject(e)?Dt.merge({},e):Dt.isArray(e)?e.slice():e}function o(t,e,n,o){return Dt.isUndefined(e)?Dt.isUndefined(t)?void 0:i(void 0,t,0,o):i(t,e,0,o)}function a(t,e){if(!Dt.isUndefined(e))return i(void 0,e)}function r(t,e){return Dt.isUndefined(e)?Dt.isUndefined(t)?void 0:i(void 0,t):i(void 0,e)}function s(n,o,a){return a in e?i(n,o):a in t?i(void 0,n):void 0}const l={url:a,method:a,data:a,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:s,headers:(t,e,n)=>o(Te(t),Te(e),0,!0)};return Dt.forEach(Object.keys(Object.assign({},t,e)),(function(i){const a=l[i]||o,r=a(t[i],e[i],i);Dt.isUndefined(r)&&a!==s||(n[i]=r)})),n}const Me=t=>{const e=Ie({},t);let n,{data:i,withXSRFToken:o,xsrfHeaderName:a,xsrfCookieName:r,headers:s,auth:l}=e;if(e.headers=s=ue.from(s),e.url=Ht(Ce(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Dt.isFormData(i))if(ee.hasStandardBrowserEnv||ee.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[t,...e]=n?n.split(";").map((t=>t.trim())).filter(Boolean):[];s.setContentType([t||"multipart/form-data",...e].join("; "))}if(ee.hasStandardBrowserEnv&&(o&&Dt.isFunction(o)&&(o=o(e)),o||!1!==o&&we(e.url))){const t=a&&r&&Se.read(r);t&&s.set(a,t)}return e},Ee="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){const i=Me(t);let o=i.data;const a=ue.from(i.headers).normalize();let r,s,l,c,d,{responseType:u,onUploadProgress:h,onDownloadProgress:p}=i;function g(){c&&c(),d&&d(),i.cancelToken&&i.cancelToken.unsubscribe(r),i.signal&&i.signal.removeEventListener("abort",r)}let m=new XMLHttpRequest;function f(){if(!m)return;const i=ue.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());fe((function(t){e(t),g()}),(function(t){n(t),g()}),{data:u&&"text"!==u&&"json"!==u?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:i,config:t,request:m}),m=null}m.open(i.method.toUpperCase(),i.url,!0),m.timeout=i.timeout,"onloadend"in m?m.onloadend=f:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(f)},m.onabort=function(){m&&(n(new Nt("Request aborted",Nt.ECONNABORTED,t,m)),m=null)},m.onerror=function(){n(new Nt("Network Error",Nt.ERR_NETWORK,t,m)),m=null},m.ontimeout=function(){let e=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const o=i.transitional||Gt;i.timeoutErrorMessage&&(e=i.timeoutErrorMessage),n(new Nt(e,o.clarifyTimeoutError?Nt.ETIMEDOUT:Nt.ECONNABORTED,t,m)),m=null},void 0===o&&a.setContentType(null),"setRequestHeader"in m&&Dt.forEach(a.toJSON(),(function(t,e){m.setRequestHeader(e,t)})),Dt.isUndefined(i.withCredentials)||(m.withCredentials=!!i.withCredentials),u&&"json"!==u&&(m.responseType=i.responseType),p&&([l,d]=ve(p,!0),m.addEventListener("progress",l)),h&&m.upload&&([s,c]=ve(h),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",c)),(i.cancelToken||i.signal)&&(r=e=>{m&&(n(!e||e.type?new me(null,t,m):e),m.abort(),m=null)},i.cancelToken&&i.cancelToken.subscribe(r),i.signal&&(i.signal.aborted?r():i.signal.addEventListener("abort",r)));const b=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(i.url);b&&-1===ee.protocols.indexOf(b)?n(new Nt("Unsupported protocol "+b+":",Nt.ERR_BAD_REQUEST,t)):m.send(o||null)}))},De=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let n,i=new AbortController;const o=function(t){if(!n){n=!0,r();const e=t instanceof Error?t:this.reason;i.abort(e instanceof Nt?e:new me(e instanceof Error?e.message:e))}};let a=e&&setTimeout((()=>{a=null,o(new Nt(`timeout ${e} of ms exceeded`,Nt.ETIMEDOUT))}),e);const r=()=>{t&&(a&&clearTimeout(a),a=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)})),t=null)};t.forEach((t=>t.addEventListener("abort",o)));const{signal:s}=i;return s.unsubscribe=()=>Dt.asap(r),s}},Le=function*(t,e){let n=t.byteLength;if(!e||n{const o=async function*(t,e){for await(const n of Pe(t))yield*Le(n,e)}(t,e);let a,r=0,s=t=>{a||(a=!0,i&&i(t))};return new ReadableStream({async pull(t){try{const{done:e,value:i}=await o.next();if(e)return s(),void t.close();let a=i.byteLength;if(n){let t=r+=a;n(t)}t.enqueue(new Uint8Array(i))}catch(t){throw s(t),t}},cancel:t=>(s(t),o.return())},{highWaterMark:2})},Ne="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Fe=Ne&&"function"==typeof ReadableStream,Oe=Ne&&("function"==typeof TextEncoder?(Be=new TextEncoder,t=>Be.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var Be;const Ue=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},Ye=Fe&&Ue((()=>{let t=!1;const e=new Request(ee.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),ze=Fe&&Ue((()=>Dt.isReadableStream(new Response("").body))),je={stream:ze&&(t=>t.body)};var We;Ne&&(We=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!je[t]&&(je[t]=Dt.isFunction(We[t])?e=>e[t]():(e,n)=>{throw new Nt(`Response type '${t}' is not supported`,Nt.ERR_NOT_SUPPORT,n)})})));const Ve=async(t,e)=>{const n=Dt.toFiniteNumber(t.getContentLength());return null==n?(async t=>{if(null==t)return 0;if(Dt.isBlob(t))return t.size;if(Dt.isSpecCompliantForm(t)){const e=new Request(ee.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return Dt.isArrayBufferView(t)||Dt.isArrayBuffer(t)?t.byteLength:(Dt.isURLSearchParams(t)&&(t+=""),Dt.isString(t)?(await Oe(t)).byteLength:void 0)})(e):n},qe={http:null,xhr:Ee,fetch:Ne&&(async t=>{let{url:e,method:n,data:i,signal:o,cancelToken:a,timeout:r,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:d,withCredentials:u="same-origin",fetchOptions:h}=Me(t);c=c?(c+"").toLowerCase():"text";let p,g=De([o,a&&a.toAbortSignal()],r);const m=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let f;try{if(l&&Ye&&"get"!==n&&"head"!==n&&0!==(f=await Ve(d,i))){let t,n=new Request(e,{method:"POST",body:i,duplex:"half"});if(Dt.isFormData(i)&&(t=n.headers.get("content-type"))&&d.setContentType(t),n.body){const[t,e]=ye(f,ve(xe(l)));i=Re(n.body,65536,t,e)}}Dt.isString(u)||(u=u?"include":"omit");const o="credentials"in Request.prototype;p=new Request(e,{...h,signal:g,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:i,duplex:"half",credentials:o?u:void 0});let a=await fetch(p);const r=ze&&("stream"===c||"response"===c);if(ze&&(s||r&&m)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=a[e]}));const e=Dt.toFiniteNumber(a.headers.get("content-length")),[n,i]=s&&ye(e,ve(xe(s),!0))||[];a=new Response(Re(a.body,65536,n,(()=>{i&&i(),m&&m()})),t)}c=c||"text";let b=await je[Dt.findKey(je,c)||"text"](a,t);return!r&&m&&m(),await new Promise(((e,n)=>{fe(e,n,{data:b,headers:ue.from(a.headers),status:a.status,statusText:a.statusText,config:t,request:p})}))}catch(e){if(m&&m(),e&&"TypeError"===e.name&&/Load failed|fetch/i.test(e.message))throw Object.assign(new Nt("Network Error",Nt.ERR_NETWORK,t,p),{cause:e.cause||e});throw Nt.from(e,e&&e.code,t,p)}})};Dt.forEach(qe,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const He=t=>`- ${t}`,Je=t=>Dt.isFunction(t)||null===t||!1===t,Ge=t=>{t=Dt.isArray(t)?t:[t];const{length:e}=t;let n,i;const o={};for(let a=0;a`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let n=e?t.length>1?"since :\n"+t.map(He).join("\n"):" "+He(t[0]):"as no adapter specified";throw new Nt("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return i};function Qe(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new me(null,t)}function Ze(t){Qe(t),t.headers=ue.from(t.headers),t.data=he.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return Ge(t.adapter||oe.adapter)(t).then((function(e){return Qe(t),e.data=he.call(t,t.transformResponse,e),e.headers=ue.from(e.headers),e}),(function(e){return pe(e)||(Qe(t),e&&e.response&&(e.response.data=he.call(t,t.transformResponse,e.response),e.response.headers=ue.from(e.response.headers))),Promise.reject(e)}))}const Ke="1.9.0",Xe={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Xe[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const $e={};Xe.transitional=function(t,e,n){function i(t,e){return"[Axios v1.9.0] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,o,a)=>{if(!1===t)throw new Nt(i(o," has been removed"+(e?" in "+e:"")),Nt.ERR_DEPRECATED);return e&&!$e[o]&&($e[o]=!0,console.warn(i(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,a)}},Xe.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};const tn={assertOptions:function(t,e,n){if("object"!=typeof t)throw new Nt("options must be an object",Nt.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let o=i.length;for(;o-- >0;){const a=i[o],r=e[a];if(r){const e=t[a],n=void 0===e||r(e,a,t);if(!0!==n)throw new Nt("option "+a+" must be "+n,Nt.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Nt("Unknown option "+a,Nt.ERR_BAD_OPTION)}},validators:Xe},en=tn.validators;class nn{constructor(t){this.defaults=t||{},this.interceptors={request:new Jt,response:new Jt}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const n=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Ie(this.defaults,e);const{transitional:n,paramsSerializer:i,headers:o}=e;void 0!==n&&tn.assertOptions(n,{silentJSONParsing:en.transitional(en.boolean),forcedJSONParsing:en.transitional(en.boolean),clarifyTimeoutError:en.transitional(en.boolean)},!1),null!=i&&(Dt.isFunction(i)?e.paramsSerializer={serialize:i}:tn.assertOptions(i,{encode:en.function,serialize:en.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),tn.assertOptions(e,{baseUrl:en.spelling("baseURL"),withXsrfToken:en.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let a=o&&Dt.merge(o.common,o[e.method]);o&&Dt.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=ue.concat(a,o);const r=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)}));let d,u=0;if(!s){const t=[Ze.bind(this),void 0];for(t.unshift.apply(t,r),t.push.apply(t,l),d=t.length,c=Promise.resolve(e);u{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const i=new Promise((t=>{n.subscribe(t),e=t})).then(t);return i.cancel=function(){n.unsubscribe(e)},i},t((function(t,i,o){n.reason||(n.reason=new me(t,i,o),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new an((function(e){t=e})),cancel:t}}}const rn=an;const sn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(sn).forEach((([t,e])=>{sn[e]=t}));const ln=sn;const cn=function t(e){const n=new on(e),i=j(on.prototype.request,n);return Dt.extend(i,on.prototype,n,{allOwnKeys:!0}),Dt.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return t(Ie(e,n))},i}(oe);cn.Axios=on,cn.CanceledError=me,cn.CancelToken=rn,cn.isCancel=pe,cn.VERSION=Ke,cn.toFormData=Yt,cn.AxiosError=Nt,cn.Cancel=cn.CanceledError,cn.all=function(t){return Promise.all(t)},cn.spread=function(t){return function(e){return t.apply(null,e)}},cn.isAxiosError=function(t){return Dt.isObject(t)&&!0===t.isAxiosError},cn.mergeConfig=Ie,cn.AxiosHeaders=ue,cn.formToJSON=t=>ne(Dt.isHTMLForm(t)?new FormData(t):t),cn.getAdapter=Ge,cn.HttpStatusCode=ln,cn.default=cn;const dn=cn,un=()=>{const t=function(){const t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.hostname).split(".");return t.length>1?t[t.length-2]:t[0]};return"getleadster"===t()?"https://app.getleadster.com":"https://app.leadster.com.br"},hn=`${un()}/api/chatbot`,pn="https://cdn.leadster.com.br/neurolead";const gn=new E;function mn(t){let{searchTerm:e,setItem:n,selectedFlow:i={is:{states:!0,cities:!1}},conversation:o}=t;const[a,r]=(0,R.J0)(null),s=gn.getItem("state_cities_list"),l=i.data.states,c=e.value&&a?function(t){return a.filter((e=>z(e.toLowerCase()).includes(z(t.toLowerCase()))))}(e.value):a,d=i.is.states?"Qual é o seu estado":"Qual é a sua cidade",u=c&&0===c?.length&&e.value.length>0;return(0,R.vJ)((()=>{!async function(){try{const t=s||await async function(){return(await dn.get(`${pn}/state_cities.json`)).data}();if(t){if(!l&&i.is.states&&r(Object.keys(t).sort()),l&&i.is.cities){const e=t[l].cities.map((t=>t));r(e)}gn.setItem("state_cities_list",t)}}catch(t){console.log("Error while Requesting state AND cities: ",t)}}(),e.set("")}),[]),(0,x.Y)(F,{themeColor:o.mainColor,children:(0,x.FD)(O,{children:[c?(0,x.Y)(B,{children:(0,x.FD)("b",{children:[d,"?"]})}):null,c?c.map((t=>(0,x.Y)(U,{onClick:()=>{n(t)},themeColor:o.mainColor,children:t}))):null,u?(0,x.Y)(U,{themeColor:o.mainColor,children:i.is.states?"Nenhum Estado foi encontrado!":"Nenhuma Cidade foi encontrada!"}):null]})})}const fn=["gamil.com","gamil.co","gmai.co","gmail.co","gamil.com.br","gmail.com.br","gmail.com","yahoo.com","hotmail.com","hotmail.com.br","aol.com","hotmail.co.uk","hotmail.fr","msn.com","yahoo.fr","wanadoo.fr","orange.fr","comcast.net","yahoo.co.uk","yahoo.com.br","yahoo.co.in","live.com","rediffmail.com","free.fr","gmx.de","web.de","yandex.ru","ymail.com","libero.it","outlook.com","uol.com.br","bol.com.br","mail.ru","cox.net","hotmail.it","sbcglobal.net","sfr.fr","live.fr","verizon.net","live.co.uk","googlemail.com","yahoo.es","ig.com.br","live.nl","bigpond.com","terra.com.br","yahoo.it","neuf.fr","yahoo.de","alice.it","rocketmail.com","att.net","laposte.net","facebook.com","bellsouth.net","yahoo.in","hotmail.es","charter.net","yahoo.ca","yahoo.com.au","rambler.ru","hotmail.de","tiscali.it","shaw.ca","yahoo.co.jp","sky.com","earthlink.net","optonline.net","freenet.de","t-online.de","aliceadsl.fr","virgilio.it","home.nl","qq.com","telenet.be","me.com","yahoo.com.ar","tiscali.co.uk","yahoo.com.mx","voila.fr","gmx.net","mail.com","planet.nl","tin.it","live.it","ntlworld.com","arcor.de","yahoo.co.id","frontiernet.net","hetnet.nl","live.com.au","yahoo.com.sg","zonnet.nl","club-internet.fr","juno.com","optusnet.com.au","blueyonder.co.uk","bluewin.ch","skynet.be","sympatico.ca","windstream.net","mac.com","centurytel.net","chello.nl","live.ca","aim.com","bigpond.net.au","zoho.com","icloud.com"],bn=t=>{let e=t.split("@");return!fn.find((t=>t===String(e[1]).toLowerCase()))};var _n=o(296);const vn=t=>({str:t,ptr:0}),yn=t=>t.ptr0?t.str.charAt(t.str.length-1):"*":null,xn={TextAndSubmit:0,SelectAndSubmit:1,SubmitOnly:2,Waiting:3,Disabled:4};class wn extends _.uA{constructor(t){super(t),this.getRefList.bind(this),this.selectedColor=t.conversation.colors.selected,this.getDDI=this.getDDI.bind(this),this.conf={text:{id:"text",name:"text",type:"text",placeholder:null,autocomplete:"on",mask:null},number:{id:"number",name:"number",type:"text",placeholder:null,autocomplete:"on",mask:"9999999999999999999999999"},real:{id:"real",name:"text",type:"text",placeholder:null,autocomplete:"off",mask:"REAL"},dollar:{id:"dollar",name:"text",type:"text",placeholder:null,autocomplete:"off",mask:"DOLLAR"},euro:{id:"euro",name:"text",type:"text",placeholder:null,autocomplete:"off",mask:"EURO"},email:{id:"email",name:"email",type:"email",placeholder:null,autocomplete:"email",mask:null},email_corp:{id:"email_corp",name:"email",type:"email",placeholder:null,autocomplete:"email",mask:null},"unique-leadster-email":{id:"unique-leadster-email",name:"email",type:"email",placeholder:null,autocomplete:"email",mask:null},phone:{id:"phone",name:"phone",type:"text",placeholder:null,autocomplete:"tel-national",mask:["(99) 9999-9999","(99) 99999-9999"]},intl_phone:{id:"intl_phone",name:"intl_phone",type:"text",placeholder:null,autocomplete:"on",mask:["+99999999999","+999999999999","+9999999999999"]},name:{id:"name",name:"name",type:"text",placeholder:null,autocomplete:"name",mask:null},birthday:{id:"birthday",name:"birthday",type:"text",placeholder:v.e[neuroleadLanguage]["input-birthday"],autocomplete:"bday",mask:"99/99/9999"},cpf:{id:"cpf",name:"cpf",type:"text",placeholder:null,autocomplete:"on",mask:"999.999.999-99"},"cpf/cnpj":{id:"cpf",name:"cpf",type:"text",placeholder:null,autocomplete:"on",mask:["999.999.999-99","99.999.999/9999-99"]},cnpj:{id:"cnpj",name:"cnpj",type:"text",placeholder:null,autocomplete:"on",mask:"99.999.999/9999-99"},cep:{id:"cep",name:"postal_code",type:"text",placeholder:null,autocomplete:"postal-code",mask:"99999-999"},url:{id:"url",name:"website",type:"text",placeholder:null,autocomplete:"on",mask:null},city:{id:"city",name:"city",type:"text",placeholder:null,autocomplete:"address-level2",mask:null},cities_list:{id:"cities_list",name:"cities_list",type:"text",placeholder:null,autocomplete:"off",mask:null},state_city:{id:"state_city",name:"state",type:"text",placeholder:null,autocomplete:"off",mask:null},state:{id:"state",name:"state",type:"text",placeholder:null,autocomplete:"off",mask:null},password:{id:"password",name:"password",type:"password",placeholder:null,autocomplete:"password",mask:null}},this.areaCodes={11:!0,12:!0,13:!0,14:!0,15:!0,16:!0,17:!0,18:!0,19:!0,21:!0,22:!0,24:!0,27:!0,28:!0,31:!0,32:!0,33:!0,34:!0,35:!0,37:!0,38:!0,41:!0,42:!0,43:!0,44:!0,45:!0,46:!0,47:!0,48:!0,49:!0,51:!0,53:!0,54:!0,55:!0,61:!0,62:!0,63:!0,64:!0,65:!0,66:!0,67:!0,68:!0,69:!0,71:!0,73:!0,74:!0,75:!0,77:!0,79:!0,81:!0,82:!0,83:!0,84:!0,85:!0,86:!0,87:!0,88:!0,89:!0,91:!0,92:!0,93:!0,94:!0,95:!0,96:!0,97:!0,98:!0,99:!0},this.state={viewState:this.props.viewState,wrong:!1,wrongMessage:null,searchTerm:null},this.stateRef=(0,_._3)(),this.cityRef=(0,_._3)(),this.handleInputChange=this.handleInputChange.bind(this)}componentWillReceiveProps(t,e){this.setState({viewState:t.viewState})}dddFromPhoneString(t){if(t){const e=t.match(/\((\d\d)\)/);return e?e[1]:"1"}return"1"}phoneFromPhoneString(t){if(t){const e=t.match(/\(\d\d\).(\d+).(\d+)/);return e?e[1]+e[2]:"1"}return"1"}checkPhoneNumber(t,e){if("pt-BR"===(e=e||"pt-BR")){const e=this.dddFromPhoneString(t),n=this.phoneFromPhoneString(t);return!!this.areaCodes[e]&&n.length>=8}return!0}checkIntlPhoneNumber(t){const e=t.trim().length;return e>=9&&e<=15}async checkUniqueEmail(t){this.setState({viewState:xn.Waiting});const e=`${hn}/users/check-email`,n=await fetch(e,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({email:String(t).toLowerCase()})}),i=await n.json();return"email_exists"in i&&!1===i.email_exists}checkEmail(t){return/^([a-z0-9]+(\.[a-z0-9+_]+)*([-a-z0-9+_]*)){2,}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9]){1,}?$/.test(String(t).toLowerCase())}checkEmailCorporate(t){return!!this.checkEmail(t)&&bn(t)}checkBirthday(t){if(!/^(0?[1-9]|[12][0-9]|3[01])\/(0?[1-9]|1[012])\/\d{4}$/.test(t))return!1;const[e,n,i]=t.split("/").map((t=>parseInt(t,10))),o=new Date(i,n-1,e),a=new Date,r=a.getFullYear()-i;return o.getFullYear()===i&&o.getMonth()===n-1&&o.getDate()===e&&o<=a&&r<=100}checkURL(t){return!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(t)}checkCEP(t){return/^\d{5}-\d{3}$/.test(String(t))}checkCPF(t){const e=t.match(/[0-9]/g).map((t=>parseInt(t)));if(11===e.length){if(!1!==e.reduce(((t,e)=>(void 0===t||t===e)&&e)))return!1;const t=e.slice(0,9),n=e.slice(0,10),i=e[9],o=e[10];let a=11-t.reduce(((t,e,n)=>t+e*(10-n)),0)%11,r=11-n.reduce(((t,e,n)=>t+e*(11-n)),0)%11;return a>=10&&(a=0),r>=10&&(r=0),i===a&&o===r}return!1}checkCNPJ(t){const e=t.match(/[0-9]/g).map((t=>parseInt(t)));if(14===e.length){if(!1!==e.reduce(((t,e)=>(void 0===t||t===e)&&e)))return!1;const t=e.slice(0,12),n=e.slice(0,13),i=e[12],o=e[13],a=t=>9-(t+3)%8;let r=11-t.reduce(((t,e,n)=>t+e*a(n+1)),0)%11,s=11-n.reduce(((t,e,n)=>t+e*a(n)),0)%11;return r>=10&&(r=0),s>=10&&(s=0),i===r&&o===s}return!1}checkCPFAndCNPJ(t){return t.match(/[0-9]/g).length>11?this.checkCNPJ(t):this.checkCPF(t)}checkState(t){return this.stateRef.current.state.statesList.map((t=>t.toUpperCase())).includes(t.toUpperCase())}checkCity(t){return this.cityRef.current.state.citiesList.map((t=>t.toUpperCase())).includes(t.toUpperCase())}checkHasNumbers(t){return!!t.match("[0-9]")}prevent(t){Boolean(t.preventDefault)&&t?.preventDefault()}onClick(t){this.onSubmit(),this.prevent(t)}resetStateWrong(){this.setState({wrong:!1,wrongMessage:null})}onKeyDown(t){13===t.keyCode&&this.onSubmit(),"number"===this.props.type&&(1!==t.key.length||t.key.match(/^[0-9]$/)||t.getModifierState("Alt")||t.getModifierState("Control")||t.getModifierState("Meta")||(t.stopPropagation(),t.preventDefault()))}getValue(){return this.textInput.value}getSelectValue(){return this.selectInput.value}getWrongMessageByFieldType(t,e){const n={phone:v.e[neuroleadLanguage].wrong_messages.phone,intl_phone:v.e[neuroleadLanguage].wrong_messages.phone,email:v.e[neuroleadLanguage].wrong_messages.email,email_corp:v.e[neuroleadLanguage].wrong_messages.email_corp,"unique-leadster-email":v.e[neuroleadLanguage].wrong_messages["unique-leadster-email"],birthday:v.e[neuroleadLanguage].wrong_messages.birthday,cpf:v.e[neuroleadLanguage].wrong_messages.cpf,url:v.e[neuroleadLanguage].wrong_messages.url,cep:v.e[neuroleadLanguage].wrong_messages.cep,"cpf/cnpj":v.e[neuroleadLanguage].wrong_messages["cpf/cnpj"],cnpj:v.e[neuroleadLanguage].wrong_messages.cnpj,real:v.e[neuroleadLanguage].wrong_messages.real,dollar:v.e[neuroleadLanguage].wrong_messages.dollar,euro:v.e[neuroleadLanguage].wrong_messages.euro,cities_list:v.e[neuroleadLanguage].wrong_messages["state-and-city"],state:v.e[neuroleadLanguage].wrong_messages["state-and-city"],state_city:v.e[neuroleadLanguage].wrong_messages["state-and-city"]};return"unique-leadster-email"!==t||this.checkEmail(e)?t in n?n[t]:v.e[neuroleadLanguage].wrong_messages.default:n.email}async shouldSubmit(t,e){if(void 0===this.props.validate||this.props.validate){const n=""!==String(t).trim(),i="validateWith";if("object"==typeof this.props.config&&this.props.config.hasOwnProperty(i)){const n=this.props.config[i];this.props.callOnModulesLoad((()=>{const i=window[n];"function"==typeof i?i(t,e):console.error("neurolead: specified validator function is not defined")}))}else"phone"===this.props.type?e(n&&this.checkPhoneNumber(t)):"intl_phone"===this.props.type?e(n&&this.checkIntlPhoneNumber(t)):"email"===this.props.type?e(n&&this.checkEmail(t)):"email_corp"===this.props.type?e(n&&this.checkEmailCorporate(t)):"unique-leadster-email"===this.props.type?e(n&&this.checkEmail(t)&&await this.checkUniqueEmail(t)):"birthday"===this.props.type?e(n&&this.checkBirthday(t)):"cpf"===this.props.type?e(n&&this.checkCPF(t)):"url"===this.props.type?e(n&&this.checkURL(t)):"cep"===this.props.type?e(n&&this.checkCEP(t)):"cpf/cnpj"===this.props.type?e(n&&this.checkCPFAndCNPJ(t)):"cnpj"===this.props.type?e(n&&this.checkCNPJ(t)):["real","dollar","euro"].includes(this.props.type)?e(n&&this.checkHasNumbers(t)):"state"===this.props.type||"state_city"===this.props.type?e(n&&this.checkState(t)):"cities_list"===this.props.type?e(n&&this.checkCity(t)):e(n)}else e(!0)}onSubmit(){const t=this.props.viewState;if([xn.TextAndSubmit,xn.SelectAndSubmit].includes(t)){let e="";return this.props.viewState===xn.TextAndSubmit&&(e=this.getValue()),this.props.viewState===xn.SelectAndSubmit&&(e=this.getSelectValue()),void this.shouldSubmit(e,(n=>{setTimeout((()=>{if(n)this.state.wrong&&this.resetStateWrong(),this.setState({viewState:xn.Waiting,value:""}),this.textInput&&(this.textInput.value=""),this.props.conversation.onUserInput(e,e,"password"===this.props.type);else{if(!this.state.wrong){const t=this.getWrongMessageByFieldType(this.props.type,e);this.setState({wrong:!0,wrongMessage:t})}this.setState({viewState:t,value:e})}}),0)}))}switch(this.props.viewState){case xn.TextAndSubmit:case xn.SelectAndSubmit:break;case xn.SubmitOnly:this.props.conversation.onUserSubmit();case xn.Disabled:}}componentDidUpdate(){this.textInput?.focus(),this.props.viewState!==xn.Disabled&&this.textInput&&this.textInput.focus&&!(0,_n.m)()&&this.textInput.focus()}componentWillUpdate(){this.props.viewState!==xn.Disabled&&this.textInput&&this.textInput.blur&&this.textInput.blur()}onFocus(t){setTimeout((()=>this.props.conversation.onResize()),300)}handleInputChange(t){this.state.wrong&&t.target.value.length<255&&this.resetStateWrong(),t.target.value.length>=255&&this.setState({wrong:!0,wrongMessage:v.e[neuroleadLanguage].wrong_messages.max_length})}setSelection(t,e){if(t)if(t.createTextRange){const n=t.createTextRange();n.moveStart(e[0]),n.moveEnd(e[1]),n.select()}else t.setSelectionRange&&t.setSelectionRange(e[0],e[1])}getSelection(t){return[t.selectionStart,t.selectionEnd]}adjustSelection(t,e,n){const i=n.length-t.length;return[e[0]+i,e[1]+i]}unMask(t){return t.replace(/[^0-9]/g,"")}getMask(){return this.conf[this.props.type].mask||null}getPlaceholder(){let t=this.conf[this.props.type]?.placeholder;return t||v.e[neuroleadLanguage]["input-placeholder"]}selectMask(t){const e=this.getMask();if("string"==typeof e)return e;if(Array.isArray(e)&&e.length>0){const n=(e,n)=>{const i=((t,e,n)=>n(t).lengthn(t).length>n(e).length?t:e)(e,n,this.unMask);return this.unMask(t).length>this.unMask(i).length?o:i};let i=e[0];for(let t=1;t1&&(e+2)%3==0&&e0===z(t).indexOf(z(e))));if(i.includes(e)&&1===n.length)return!0}}getDdiByNavigator(){return{"pt-BR":"55","pt-PT":"351","es-AR":"54","es-MX":"52","es-CL":"56","es-ES":"34","en-GB":"44","fr-CA":"1","en-CA":"1","en-US":"1",en:"1"}[navigator.language||navigator.userLanguage||"pt-BR"]||"55"}getDDI(){try{return this.props.conversation.flow.currentMessage.phoneDialCode||this.getDdiByNavigator()}catch(t){return this.getDdiByNavigator()}}render(t,e){let n=this.getPlaceholder(),i=(0,x.Y)(A,{isMobile:(0,_n.F)(),isInput:!0,companySegment:t.conversation.props.metadata.companySegment});t.conversation.props.metadata.whiteLabel&&(i="");const o=()=>{if(e.wrong)return(0,x.FD)("div",{class:"nld-tooltip-error",children:[(0,x.Y)("span",{style:"margin-right: 5px",children:"🤔"}),e.wrongMessage]})};if(e.viewState===xn.TextAndSubmit){const a=this.conf[t.type],r=this.props.conversation.flow,s=this.textInput?this.textInput.value:e.value?e.value:"",l=r.currentMessage?.save,c=r.data[`${l}:estado`],d=r.data[l],u=("state"==a.id||"state_city"==a.id)&&!Boolean(c),h="cities_list"==a.id&&!Boolean(d),p=u||h,g="state"===a.id||"state_city"===a.id,m="cities_list"===a.id,f=()=>{if("intl_phone"===a.id)return(0,x.Y)(M,{selectedColor:this.selectedColor,ddi:this.getDDI()})},b=()=>{if("state"===a.id||"state_city"===a.id){if("state_city"===a.id){const t=r.position;r.currentMessage.save=`${l}:estado`,r.script.splice(t,0,{save:l,type:"cities_list"}),r.script.splice(t,0,{say:`

${v.e[neuroleadLanguage].what_is_your_city}

`}),a.id="state"}return(0,x.Y)(L,{ref:this.stateRef})}},_=()=>{if("cities_list"===a.id){if(!Boolean(l))return;return(0,x.Y)(P,{state_name:c,ref:this.cityRef})}},y=()=>{let t={borderColor:this.selectedColor};return"intl_phone"===a.id&&(t.textIndent="35px"),t};return(0,x.FD)("div",{class:"nld-input"+(e.wrong?" nld-wrong":""),children:[i,o(),f(),b(),_(),p?(0,x.Y)(mn,{searchTerm:{value:this.state.searchTerm,set:t=>{this.setState({searchTerm:t})}},setItem:t=>{t&&(this.textInput.value=t,this.submitButton.click())},selectedFlow:{data:{states:c},is:{states:g,cities:m}},conversation:{flow:r,mainColor:this.selectedColor}}):null,(0,x.Y)("input",{maxLength:"255",value:"intl_phone"===a.id?s||this.getDDI():s,id:a.id,name:a.name,type:a.type,style:y(),autocomplete:a.autocomplete,placeholder:n,onKeyDown:this.onKeyDown.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this),onChange:t=>{this.handleInputChange(t),/[`!@#$%^´&*()_+\-=\[\]{};':"\\|,.<>\/?~]/.test(t.target.value.slice(-1))||p&&this.setState({searchTerm:t.target.value})},ref:t=>{this.textInput=t,this.onInput({target:t,inputType:""})}}),(0,x.Y)("div",{ref:t=>this.submitButton=t,class:"nld-submit",onclick:this.onClick.bind(this),onmousedown:this.prevent.bind(this)})]})}return e.viewState===xn.SelectAndSubmit?(0,x.FD)("div",{class:"nld-input "+(e.wrong?" nld-wrong":""),children:[i,o(),(0,x.Y)("div",{className:"custom-select",children:(0,x.FD)("select",{ref:t=>this.selectInput=t,style:{borderColor:this.selectedColor},children:[(0,x.Y)("option",{value:"",children:v.e[neuroleadLanguage].select_option}),t.options.map((t=>(0,x.Y)("option",{value:t,children:t})))]})}),(0,x.Y)("div",{class:"nld-submit",onclick:this.onClick.bind(this),onmousedown:this.prevent.bind(this)})]}):e.viewState===xn.SubmitOnly?(0,x.FD)("div",{class:"nld-input nld-plain",children:[i,(0,x.Y)("div",{class:"nld-submit nld-only",onclick:this.onClick.bind(this),onmousedown:this.prevent.bind(this),children:t.sendText})]}):e.viewState===xn.Waiting?(0,x.FD)("div",{class:"nld-input",children:[i,(0,x.FD)("div",{class:"nld-spinner",children:[(0,x.Y)("div",{}),(0,x.Y)("div",{}),(0,x.Y)("div",{})]})]}):e.viewState===xn.Disabled?(this.textInput&&this.textInput.blur(),(0,x.FD)("div",{class:"nld-input nld-hide",children:[i,(0,x.Y)("div",{class:"nld-submit"})]})):void 0}}class kn{constructor(){this.localStorage=new E}addLastNotificationViewedText(t){this.localStorage.setItem("lastNotificationViewedText",t)}getLastNotificationViewedText(){return this.localStorage.getItem("lastNotificationViewedText")}addLastNotificationViewed(t){this.localStorage.setItem("lastNotificationViewed",t)}getLastNotificationViewed(){return this.localStorage.getItem("lastNotificationViewed",0)}selectUpdatedFirstBlockMessages(t){const e=this.getLastNotificationViewedText();return null!==e?[{say:t[0].say},{say:e}]:t}}class An extends _.uA{constructor(){super()}componentDidMount(){this.props.conversation.activeSelector=this}autoSelect(t){}}const Sn=()=>(window.neuroleadDefaultScript||{}).lang||window.neuroleadLanguage||"pt-BR",Cn="\n font-size: 0.75em !important;\n max-width: 80% !important;\n margin-left: 0.5em !important;\n",Tn=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return v.e[Sn()][`privacy_policy_${t}`].split("|")[e]},In=t=>{let{privacyPolicyUrl:e}=t;const{utmSource:n,utmMedium:i,utmCampaign:o}={utmSource:"utm_source=leadster",utmMedium:"utm_medium=privacidade",utmCampaign:`utm_campaign=${encodeURIComponent(location.hostname)}`},a=`${"pt-BR"===Sn()?"https://leadster.com.br/privacidade":"https://www.getleadster.com/privacy/"}?${n}&${i}&${o}`;if([4357,25611,11270].includes(window.neuroleadId)&&e)return(0,x.FD)("p",{style:Cn,children:[Tn("website")," ",(0,x.Y)("a",{href:e,target:"__blank",children:Tn("website",1)})]});return e?(0,x.FD)("p",{style:Cn,children:[Tn("website"),(0,x.Y)("a",{href:e,target:"__blank",children:Tn("website",1)}),Tn("website",2),(0,x.Y)("a",{href:a,target:"__blank",children:Tn("website",3)})]}):(0,x.FD)("p",{style:Cn,children:[Tn("leadster",0),(0,x.Y)("a",{href:a,target:"__blank",children:Tn("leadster",1)})]})};class Mn extends _.uA{constructor(){if(super(),this.relativeTime=!1,this.state={timeAgo:null,time:null},this.relativeTime)this.timestamp=new Date/1e3|0,this.state.timeAgo=v.e[window.neuroleadLanguage].now,setInterval(this.update.bind(this),6e4);else{const t=new Date;this.state.time=this.zeroPad(t.getHours())+":"+this.zeroPad(t.getMinutes())}}zeroPad(t){return t<10?"0"+t:""+t}update(){var t=this.timestamp,e=new Date/1e3|0,n=[],i={"pt-BR":["minuto","hora","dia","semana",["mês","meses"]],"en-US":["minute","hour","day","week","month"],"es-ES":["minuto","hora","día","semana",["mes","meses"]]}[window.neuroleadLanguage];n[0]=(e-t)/60|0,n[1]=n[0]/60|0,n[2]=n[1]/24|0,n[3]=n[2]/7|0,n[4]=n[3]/4.37|0;for(var o=n.length-1;o>=0;o--)if(n[o]){var a="string"==typeof i[o]?i[o]+(n[o]>1?"s":""):i[o][n[o]>1];switch(window.neuroleadLanguage){case"en-US":this.setState({timeAgo:n[o]+" "+a+" ago"});break;case"es-ES":this.setState({timeAgo:"Hace "+n[o]+" "+a});break;default:this.setState({timeAgo:"À "+n[o]+" "+a})}}}render(t,e){return(0,x.Y)("div",{class:"nld-timestamp",children:this.relativeTime?e.timeAgo:e.time})}}function En(t){const e=[0,0,0,0];if("#"===t.charAt(0)){const n=t.substr(1,t.length),i=parseInt(n,16);return 3===n.length?En("#"+n.charAt(0)+"f"+n.charAt(1)+"f"+n.charAt(2)+"f"):4===n.length?En("#"+n.charAt(0)+"f"+n.charAt(1)+"f"+n.charAt(2)+"f"+n.charAt(3)+"f"):6===n.length?[i>>16,i>>8&255,255&i,255]:8===n.length?[i>>24,i>>16&255,i>>8&255,255&i]:e}if(0===t.indexOf("rgba")){const e=t.match(/\([^\d]*(\d+)[^\d]*,[^\d]*(\d+)[^\d]*,[^\d]*(\d+)[^\d]*,[^\d]*([\d\.]+)[^\d]*\)/);return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),255*parseInt(e[4])]}if(0===t.indexOf("rgb")){const e=t.match(/\([^\d]*(\d+)[^\d]*,[^\d]*(\d+)[^\d]*,[^\d]*(\d+)[^\d]*\)/);return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),255]}return"black"===t?[0,0,0,255]:"white"===t?[255,255,255,255]:e}function Dn(t){const e=t.reduce(((e,n)=>e+n/t.length),0);return t.reduce(((n,i)=>n+Math.abs(e-i)/t.length),0)}function Ln(t,e){return t.reduce(((n,i,o)=>n+Math.abs(i*i-e[o]*e[o])/t.length),0)}function Pn(t,e,n){const i=En(t),o=En(e),a=En(n);return Ln(i,o)>Ln(i,a)?e:n}class Rn extends _.uA{constructor(t){super(),this.proceed=t.proceed,this.state={popIn:!0,popOut:!1,typing:t.typing};const e=this.getExtraDelayPerMessageSize(t);this.state.typing?(this.firstTimeoutTyping=setTimeout((()=>this.setState({popIn:!1,popOut:!0,typing:!0})),1e3+e),this.secondTimeoutTyping=setTimeout((()=>this.setState({popIn:!0,popOut:!1,typing:!1})),1300+e),this.thirdTimeoutTyping=setTimeout((()=>this.setState({popIn:!1,popOut:!1,typing:!1})),1600+e)):this.fourthTimeoutTyping=setTimeout((()=>this.setState({popIn:!1,popOut:!1,typing:!1})),1e3),this.nextMessageTimeout=setTimeout((()=>this.proceed?this.proceed():null),1300+e)}componentWillUnmount(){clearTimeout(this.firstTimeoutTyping),clearTimeout(this.secondTimeoutTyping),clearTimeout(this.thirdTimeoutTyping),clearTimeout(this.fourthTimeoutTyping),clearTimeout(this.nextMessageTimeout)}getExtraDelayPerMessageSize(t){if(!this.state.typing)return 0;if(this.isFirstBlock(t))return 0;const e=(t.previousMessageContent+"").toString().length||0;let n=Math.floor(e/75);return n=n<=3?n:3,1e3*n}isFirstBlock(t){return 1===t.conversation.state.blocks.length}content(t,e){return(0,x.FD)("div",{children:["object"==typeof t.content?t.content:(0,x.Y)("div",{dangerouslySetInnerHTML:{__html:t.content}}),t.elements,(0,x.Y)("div",{class:"nld-clear",children:t.timestamp&&(0,x.Y)(Mn,{})})]})}render(t,e){this.isFirstBlock(t)&&t.conversation.handleScrollHeight();let n=["nld-msg"];e.popIn&&n.push("nld-shown"),e.popOut&&n.push("nld-hidden");const i=this.content(t,e),o=Pn(t.conversation.colors.robotMessage,"#ccc","#aaa"),a=e.typing&&t.typing,r=(0,x.FD)("div",{children:[(0,x.FD)("div",{class:"nld-typing-indicator",children:[(0,x.Y)("span",{style:{background:o}}),(0,x.Y)("span",{style:{background:o}}),(0,x.Y)("span",{style:{background:o}})]}),(0,x.Y)("div",{class:"nld-clear"})]});return(0,x.Y)("div",{class:n.join(" "),ref:e=>t.conversation.lastMessage=e,children:(0,x.Y)("div",{class:"nld-bubble",ref:t=>this.bubble=t,style:t.timestamp&&!a&&{paddingBottom:0},children:a?r:i})})}}class Nn extends An{constructor(t){super(t),this.state={done:!1,animated:!0,messages:t.messages.slice(0,1)},setTimeout((()=>this.setState({animated:!1})),500)}onClick(t,e){const n=this.unwrapOption(e,"say"),i=this.unwrapOption(e,"save");this.props.conversation.onUserInput(n,i),this.setState({done:!0}),t.preventDefault(),t.stopPropagation()}autoSelect(t){}extractTemplateMatches(t){const e=/\[\{(.*?)\}]/g,n=[];let i;for(;i=e.exec(t);)n.push(i[1]);return n}cleanTemplate(t){if("string"==typeof t&&t.startsWith("[{")){const e=this.extractTemplateMatches(t);return 1==e.length?e[0]:2==e.length?(0,x.Y)("a",{href:e[1],children:e[0]}):t}return t}optionWillRedirect(t){return"string"==typeof t&&t.startsWith("[{")&&2==this.extractTemplateMatches(t).length}unwrapOption(t,e){return"string"==typeof t?this.cleanTemplate(t):this.cleanTemplate(t[e])||""}messageFinishedLoading(){this.state.messages.length===this.props.messages.length?this.props.proceed&&this.props.proceed():this.setState({messages:this.props.messages.slice(0,this.state.messages.length+1)})}renderSelector(t,e){return e.done?null:(0,x.FD)("div",{className:"nld-sel nld-messages",children:[t.options.map((t=>(0,x.FD)("button",{id:"nld-start-conversation","data-event":"start-lead-generation",type:"button",className:(e.animated?"nld-shown ":"")+"nld-opt "+("string"==typeof t&&t.startsWith("[{")?"nld-secondary":""),style:{marginBottom:"7px",border:"none",background:"transparent",cursor:"pointer"},onClick:e=>this.optionWillRedirect(t)?null:this.onClick(e,t),children:[this.unwrapOption(t,"say"),!("string"==typeof t&&t.startsWith("[{"))&&(0,x.Y)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAACzSURBVFiF7Ze9DcIwEEY/owgJpDQwAwOwAxUTsACjUadCFGQGsgkdVYpHAxIopsA6x0Lc6+3v+U7+k5xfBZgCB+AGnIDF2AI73rmkSEwMndaS2tEq8WhBy5CkSqRKzIBzRKIDli7hEi7xlQRQA0egjwy0pAdWz9zXk3AvaSupylsfVZKamEBZSrUg12LmxO+J/DvBwz38r8LLPskYvoqTwi2P4k7SJoRwNZzzM5T+mDhW3AFTPw4c5r4MygAAAABJRU5ErkJggg==",style:{float:"right",width:"16px",height:"16px",marginTop:"4px",marginLeft:"2px"},alt:v.e[neuroleadLanguage].right_arrow})]}))),(0,x.Y)(In,{privacyPolicyUrl:t.privacyPolicyUrl})]})}render(t,e){const{side:n,avatar:i,timestamp:o,conversation:a,typing:r}=t,{messages:s}=e;return(0,x.FD)("div",{class:"nld-group nld-"+n,children:[i&&(0,x.Y)("div",{class:"nld-msg-avatar",children:(0,x.Y)("img",{class:"nld-img",src:i,alt:v.e[neuroleadLanguage].avatar})}),(0,x.Y)("div",{class:"nld-container",children:s.map(((n,i)=>{const o=s[i-1]?s[i-1].content:"";return(0,x.Y)(Rn,{typing:r,proceed:this.messageFinishedLoading.bind(this),content:n.content,conversation:a,previousMessageContent:o,timestamp:!1,elements:i+1==t.messages.length?this.renderSelector(t,e):null})}))}),(0,x.Y)("div",{class:"nld-clear"})]})}}class Fn extends An{constructor(){super(),this.state={done:!1,animated:!0},setTimeout((()=>this.setState({animated:!1})),500)}onClick(t,e){const n=this.unwrapOption(e,"say"),i=this.unwrapOption(e,"save");this.props.conversation.onUserInput(n,i),this.setState({done:!0}),t.preventDefault(),t.stopPropagation()}autoSelect(t){const e=this.props.options[t],n=this.unwrapOption(e,"say"),i=this.unwrapOption(e,"save");this.props.conversation.onUserInput(n,i),this.setState({done:!0})}cleanTemplate(t){return"string"==typeof t&&t.startsWith("[{")?t.replace(/[\[\]\{\}]+/g,""):t}unwrapOption(t,e){return"string"==typeof t?this.cleanTemplate(t):this.cleanTemplate(t[e])||""}render(t,e){return e.done?null:(0,x.FD)("div",{class:"nld-group nld-full nld-"+t.side,children:[t.avatar&&(0,x.Y)("div",{class:"nld-msg-avatar",children:(0,x.Y)("img",{class:"nld-img",src:"https://cdn.leadster.com.br/neurolead/img/avatar.png",alt:v.e[neuroleadLanguage].avatar})}),(0,x.Y)("div",{class:"nld-container",children:(0,x.Y)("div",{class:"nld-sel nld-single",children:t.options.map((t=>(0,x.Y)("span",{class:(e.animated?"nld-shown ":"")+"nld-opt "+("string"==typeof t&&t.startsWith("[{")?"nld-secondary":""),onclick:(e=>this.onClick(e,t)).bind(this),children:this.unwrapOption(t,"say")})))})})]})}}class On extends An{constructor(t){super(t);const e={};for(let n of t.options)e[n]=!1;this.state={done:!1,options:e,animated:!0,hasError:!1},this.animatedInterval=null}componentDidMount(){super.componentDidMount(),this.selector.focus(),this.animatedInterval=setTimeout((()=>{this.setState({animated:!1})}),500)}componentWillUnmount(){clearInterval(this.animatedInterval)}onClick(t,e){let n=this.state.options;n[e]=!n[e],this.setState({hasError:!1}),this.setState({options:n}),t.preventDefault(),t.stopPropagation()}autoSelect(t){this.state.options[t]=!this.state.options[t],this.setState(this.state)}createSelection(){return Object.keys(this.state.options).filter((t=>this.state.options[t])).join(", ")}onSubmit(){const t=this.createSelection();t&&!/^\s*$/.test(t)?(this.props.conversation.onUserInput(this.createSelection()),this.setState({done:!0})):this.setState({hasError:!0})}onKeyDown(t){"Enter"===t.key&&this.onSubmit()}render(t,e){return e.done?null:(0,x.FD)("div",{class:"nld-group nld-full nld-"+t.side,ref:t=>this.selector=t,tabIndex:0,onKeyDown:this.onKeyDown.bind(this),children:[t.avatar&&(0,x.Y)("div",{class:"nld-msg-avatar",children:(0,x.Y)("img",{class:"nld-img",src:"https://cdn.leadster.com.br/neurolead/img/avatar.png",alt:v.e[neuroleadLanguage].avatar})}),(0,x.Y)("div",{class:"nld-container",children:(0,x.FD)("div",{class:"nld-sel nld-multi",children:[this.state.hasError&&(0,x.FD)("div",{class:"nld-tooltip-error",children:[(0,x.Y)("div",{style:{marginRight:"5px"},children:"🤔"}),(0,x.Y)("p",{children:v.e[neuroleadLanguage].select_one})]}),Object.keys(e.options).map((t=>(0,x.Y)("span",{class:(e.animated?"nld-shown ":"")+"nld-opt"+(e.options[t]?" nld-selected":""),onclick:(e=>this.onClick(e,t)).bind(this),children:t})))]})})]})}}function Bn(t,e){if(e.length1?"s":"")+" required, but only "+e.length+" present")}function Un(t){return Un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Un(t)}function Yn(t){return Yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yn(t)}function zn(t){Bn(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===Yn(t)&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function jn(t){if(Bn(1,arguments),!function(t){return Bn(1,arguments),t instanceof Date||"object"===Un(t)&&"[object Date]"===Object.prototype.toString.call(t)}(t)&&"number"!=typeof t)return!1;var e=zn(t);return!isNaN(Number(e))}function Wn(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function Vn(t,e){return Bn(2,arguments),function(t,e){Bn(2,arguments);var n=zn(t).getTime(),i=Wn(e);return new Date(n+i)}(t,-Wn(e))}function qn(t){Bn(1,arguments);var e=zn(t),n=e.getUTCDay(),i=(n<1?7:0)+n-1;return e.setUTCDate(e.getUTCDate()-i),e.setUTCHours(0,0,0,0),e}function Hn(t){Bn(1,arguments);var e=zn(t),n=e.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(n+1,0,4),i.setUTCHours(0,0,0,0);var o=qn(i),a=new Date(0);a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0);var r=qn(a);return e.getTime()>=o.getTime()?n+1:e.getTime()>=r.getTime()?n:n-1}function Jn(t){Bn(1,arguments);var e=zn(t),n=qn(e).getTime()-function(t){Bn(1,arguments);var e=Hn(t),n=new Date(0);return n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0),qn(n)}(e).getTime();return Math.round(n/6048e5)+1}var Gn={};function Qn(){return Gn}function Zn(t,e){var n,i,o,a,r,s,l,c;Bn(1,arguments);var d=Qn(),u=Wn(null!==(n=null!==(i=null!==(o=null!==(a=null==e?void 0:e.weekStartsOn)&&void 0!==a?a:null==e||null===(r=e.locale)||void 0===r||null===(s=r.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==o?o:d.weekStartsOn)&&void 0!==i?i:null===(l=d.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=zn(t),p=h.getUTCDay(),g=(p=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(u+1,0,p),g.setUTCHours(0,0,0,0);var m=Zn(g,e),f=new Date(0);f.setUTCFullYear(u,0,p),f.setUTCHours(0,0,0,0);var b=Zn(f,e);return d.getTime()>=m.getTime()?u+1:d.getTime()>=b.getTime()?u:u-1}function Xn(t,e){Bn(1,arguments);var n=zn(t),i=Zn(n,e).getTime()-function(t,e){var n,i,o,a,r,s,l,c;Bn(1,arguments);var d=Qn(),u=Wn(null!==(n=null!==(i=null!==(o=null!==(a=null==e?void 0:e.firstWeekContainsDate)&&void 0!==a?a:null==e||null===(r=e.locale)||void 0===r||null===(s=r.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==o?o:d.firstWeekContainsDate)&&void 0!==i?i:null===(l=d.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==n?n:1),h=Kn(t,e),p=new Date(0);return p.setUTCFullYear(h,0,u),p.setUTCHours(0,0,0,0),Zn(p,e)}(n,e).getTime();return Math.round(i/6048e5)+1}function $n(t,e){for(var n=t<0?"-":"",i=Math.abs(t).toString();i.length0?n:1-n;return $n("yy"===e?i%100:i,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):$n(n+1,2)},d:function(t,e){return $n(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return $n(t.getUTCHours()%12||12,e.length)},H:function(t,e){return $n(t.getUTCHours(),e.length)},m:function(t,e){return $n(t.getUTCMinutes(),e.length)},s:function(t,e){return $n(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,i=t.getUTCMilliseconds();return $n(Math.floor(i*Math.pow(10,n-3)),e.length)}};const ei=ti;var ni="midnight",ii="noon",oi="morning",ai="afternoon",ri="evening",si="night",li={G:function(t,e,n){var i=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var i=t.getUTCFullYear(),o=i>0?i:1-i;return n.ordinalNumber(o,{unit:"year"})}return ei.y(t,e)},Y:function(t,e,n,i){var o=Kn(t,i),a=o>0?o:1-o;return"YY"===e?$n(a%100,2):"Yo"===e?n.ordinalNumber(a,{unit:"year"}):$n(a,e.length)},R:function(t,e){return $n(Hn(t),e.length)},u:function(t,e){return $n(t.getUTCFullYear(),e.length)},Q:function(t,e,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(i);case"QQ":return $n(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,e,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(i);case"qq":return $n(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,e,n){var i=t.getUTCMonth();switch(e){case"M":case"MM":return ei.M(t,e);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,e,n){var i=t.getUTCMonth();switch(e){case"L":return String(i+1);case"LL":return $n(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,e,n,i){var o=Xn(t,i);return"wo"===e?n.ordinalNumber(o,{unit:"week"}):$n(o,e.length)},I:function(t,e,n){var i=Jn(t);return"Io"===e?n.ordinalNumber(i,{unit:"week"}):$n(i,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):ei.d(t,e)},D:function(t,e,n){var i=function(t){Bn(1,arguments);var e=zn(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var i=n-e.getTime();return Math.floor(i/864e5)+1}(t);return"Do"===e?n.ordinalNumber(i,{unit:"dayOfYear"}):$n(i,e.length)},E:function(t,e,n){var i=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,e,n,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return $n(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,n,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return $n(a,e.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,n){var i=t.getUTCDay(),o=0===i?7:i;switch(e){case"i":return String(o);case"ii":return $n(o,e.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,e,n){var i=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,n){var i,o=t.getUTCHours();switch(i=12===o?ii:0===o?ni:o/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,n){var i,o=t.getUTCHours();switch(i=o>=17?ri:o>=12?ai:o>=4?oi:si,e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var i=t.getUTCHours()%12;return 0===i&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return ei.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):ei.H(t,e)},K:function(t,e,n){var i=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(i,{unit:"hour"}):$n(i,e.length)},k:function(t,e,n){var i=t.getUTCHours();return 0===i&&(i=24),"ko"===e?n.ordinalNumber(i,{unit:"hour"}):$n(i,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):ei.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):ei.s(t,e)},S:function(t,e){return ei.S(t,e)},X:function(t,e,n,i){var o=(i._originalDate||t).getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return di(o);case"XXXX":case"XX":return ui(o);default:return ui(o,":")}},x:function(t,e,n,i){var o=(i._originalDate||t).getTimezoneOffset();switch(e){case"x":return di(o);case"xxxx":case"xx":return ui(o);default:return ui(o,":")}},O:function(t,e,n,i){var o=(i._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+ci(o,":");default:return"GMT"+ui(o,":")}},z:function(t,e,n,i){var o=(i._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+ci(o,":");default:return"GMT"+ui(o,":")}},t:function(t,e,n,i){var o=i._originalDate||t;return $n(Math.floor(o.getTime()/1e3),e.length)},T:function(t,e,n,i){return $n((i._originalDate||t).getTime(),e.length)}};function ci(t,e){var n=t>0?"-":"+",i=Math.abs(t),o=Math.floor(i/60),a=i%60;if(0===a)return n+String(o);var r=e||"";return n+String(o)+r+$n(a,2)}function di(t,e){return t%60==0?(t>0?"-":"+")+$n(Math.abs(t)/60,2):ui(t,e)}function ui(t,e){var n=e||"",i=t>0?"-":"+",o=Math.abs(t);return i+$n(Math.floor(o/60),2)+n+$n(o%60,2)}const hi=li;var pi=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},gi=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}};const mi={p:gi,P:function(t,e){var n,i=t.match(/(P+)(p+)?/)||[],o=i[1],a=i[2];if(!a)return pi(t,e);switch(o){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",pi(o,e)).replace("{{time}}",gi(a,e))}};var fi=["D","DD"],bi=["YY","YYYY"];function _i(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var vi={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const yi=function(t,e,n){var i,o=vi[t];return i="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function xi(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}var wi={date:xi({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:xi({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:xi({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var ki={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};const Ai=function(t,e,n,i){return ki[t]};function Si(t){return function(e,n){var i;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,a=null!=n&&n.width?String(n.width):o;i=t.formattingValues[a]||t.formattingValues[o]}else{var r=t.defaultWidth,s=null!=n&&n.width?String(n.width):t.defaultWidth;i=t.values[s]||t.values[r]}return i[t.argumentCallback?t.argumentCallback(e):e]}}function Ci(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.width,o=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],a=e.match(o);if(!a)return null;var r,s=a[0],l=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(l)?function(t,e){for(var n=0;n20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Si({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Si({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Si({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Si({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Si({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(Ti={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(Ti.matchPattern);if(!n)return null;var i=n[0],o=t.match(Ti.parsePattern);if(!o)return null;var a=Ti.valueCallback?Ti.valueCallback(o[0]):o[0];return{value:a=e.valueCallback?e.valueCallback(a):a,rest:t.slice(i.length)}}),era:Ci({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Ci({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ci({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Ci({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Ci({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var Mi=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ei=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Di=/^'([^]*?)'?$/,Li=/''/g,Pi=/[a-zA-Z]/;function Ri(t,e,n){var i,o,a,r,s,l,c,d,u,h,p,g,m,f,b,_,v,y;Bn(2,arguments);var x=String(e),w=Qn(),k=null!==(i=null!==(o=null==n?void 0:n.locale)&&void 0!==o?o:w.locale)&&void 0!==i?i:Ii,A=Wn(null!==(a=null!==(r=null!==(s=null!==(l=null==n?void 0:n.firstWeekContainsDate)&&void 0!==l?l:null==n||null===(c=n.locale)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==s?s:w.firstWeekContainsDate)&&void 0!==r?r:null===(u=w.locale)||void 0===u||null===(h=u.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==a?a:1);if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=Wn(null!==(p=null!==(g=null!==(m=null!==(f=null==n?void 0:n.weekStartsOn)&&void 0!==f?f:null==n||null===(b=n.locale)||void 0===b||null===(_=b.options)||void 0===_?void 0:_.weekStartsOn)&&void 0!==m?m:w.weekStartsOn)&&void 0!==g?g:null===(v=w.locale)||void 0===v||null===(y=v.options)||void 0===y?void 0:y.weekStartsOn)&&void 0!==p?p:0);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!k.localize)throw new RangeError("locale must contain localize property");if(!k.formatLong)throw new RangeError("locale must contain formatLong property");var C=zn(t);if(!jn(C))throw new RangeError("Invalid time value");var T=function(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}(C),I=Vn(C,T),M={firstWeekContainsDate:A,weekStartsOn:S,locale:k,_originalDate:C},E=x.match(Ei).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,mi[e])(t,k.formatLong):t})).join("").match(Mi).map((function(i){if("''"===i)return"'";var o=i[0];if("'"===o)return function(t){var e=t.match(Di);if(!e)return t;return e[1].replace(Li,"'")}(i);var a=hi[o];if(a)return null!=n&&n.useAdditionalWeekYearTokens||!function(t){return-1!==bi.indexOf(t)}(i)||_i(i,e,String(t)),null!=n&&n.useAdditionalDayOfYearTokens||!function(t){return-1!==fi.indexOf(t)}(i)||_i(i,e,String(t)),a(I,i,k.localize,M);if(o.match(Pi))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return i})).join("");return E}class Ni extends An{constructor(t){super(t),this.options={onlyweekdays:t.conversation.flow.currentMessage.onlyweekdays,datePast:t.conversation.flow.currentMessage.datePast},t.options&&(this.options={...this.options,...t.options});const e=t.date||new Date;this.animatedInterval=null,this.state={done:!1,options:{},animated:!0,date:e,selected:new Date(e.getFullYear(),e.getMonth(),e.getDate())}}onClick(t,e){this.isDisabled(e)||this.setState({selected:e}),t.preventDefault(),t.stopPropagation()}autoSelect(t){const e=new Date(this.state.selected);e.setDate(this.state.selected.getDate()+t),this.isDisabled(e)||this.setState({selected:e})}onSubmit(){const t="pt-BR"===(this.props.conversation.flow.currentMessage.formatDate||"pt-BR")?"dd/MM/yyyy":"MM/dd/yyyy",e=Ri(this.state.selected,t);this.props.conversation.onUserInput(e),this.setState({done:!0})}onNextMonth(){const t=new Date(this.state.date),e=t.setMonth(t.getMonth()+1);this.setState({date:e})}onPrevMonth(){const t=new Date(this.state.date),e=t.setMonth(t.getMonth()-1);this.setState({date:e})}onNextYear(){const t=new Date(this.state.date),e=t.setFullYear(t.getFullYear()+1);this.setState({date:e})}onPrevYear(){const t=new Date(this.state.date),e=t.setFullYear(t.getFullYear()-1);this.setState({date:e})}isDisabled(t){const e=new Date,n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),i=[];if(this.options["48h"]&&i.push(tn===e&&t)))}return i.push(this.options.datePast?t>n:tt))}averageTouches(t){let e=Array.from(t);return e.reduce(((t,e)=>[t[0]+e.screenX,t[1]+e.screenY]),[0,0]).map((t=>t/e.length))}onTouchStart(t){this.touchStartPosition=this.averageTouches(t.touches)}onTouchMove(t){const e=this.averageTouches(t.touches)[0]-this.touchStartPosition[0],n=window.innerWidth/4;e>n?(this.onTouchStart(t),this.onPrev()):e<-n&&(this.onTouchStart(t),this.onNext())}renderWeekdays(t,e){return(0,x.Y)("div",{class:"nld-row nld-title",children:v.e[neuroleadLanguage].days.map((t=>(0,x.Y)("div",{class:"nld-cell"+(e.animated?" nld-shown":""),children:t})))})}renderRow(t,e){return Array.apply(0,new Array(7)).map((()=>{const t=new Date(this.date.getTime()),n=t.getDate();let i="nld-cell";const o=t.getMonth()+12*t.getFullYear(),a=this.month+12*this.year;return i+=oa?" nld-next-month":" nld-this-month",this.isDisabled(t)&&(i+=" nld-disabled"),this.date.getTime()===(new Date).setHours(0,0,0,0)&&(i+=" nld-today"),this.date.getTime()===this.state.selected.getTime()&&(i+=" nld-selected"),this.date.setDate(n+1),(0,x.Y)("div",{class:i+(e.animated?" nld-shown":""),onclick:e=>this.onClick(e,t),children:n})}))}renderHeader(t,e){const n=v.e[neuroleadLanguage].months;return(0,x.Y)("div",{class:"nld-row nld-header",children:(0,x.FD)("div",{class:"nld-header",children:[(0,x.Y)("div",{class:"nld-prev nld-full",onclick:this.onPrevYear.bind(this)}),(0,x.Y)("div",{class:"nld-prev",onclick:this.onPrevMonth.bind(this)}),n[this.month]+" "+v.e[neuroleadLanguage].date_preposition+" "+this.year,(0,x.Y)("div",{class:"nld-next nld-full",onclick:this.onNextYear.bind(this)}),(0,x.Y)("div",{class:"nld-next",onclick:this.onNextMonth.bind(this)})]})})}renderGrid(t,e){const n=Array.apply(0,new Array(6)).map((()=>(0,x.Y)("div",{class:"nld-row",children:this.renderRow(t,e)})));return[this.renderHeader(t,e)].concat([this.renderWeekdays(t,e)].concat(n))}empty(t){return!t||(Array.isArray(t)?0==t.length:0==Object.keys(t).length)}componentDidMount(){super.componentDidMount(),this.animatedInterval=setTimeout((()=>{this.setState({animated:!1})}),500)}componentWillUnmount(){clearInterval(this.animatedInterval)}unwrapOptions(t){if(Array.isArray(t))for(let e of t)this.options[e]=!0;else this.options=t}render(t,e){const n=new Date(e.date),i=n.getMonth(),o=n.getFullYear();return this.date=new Date(o,i),this.date.setDate(1-this.date.getDay()),this.month=i,this.year=o,e.done?null:(0,x.FD)("div",{class:"nld-group nld-full nld-"+t.side,children:[t.avatar&&(0,x.Y)("div",{class:"nld-msg-avatar",children:(0,x.Y)("img",{class:"nld-img",src:"https://cdn.leadster.com.br/neurolead/img/avatar.png",alt:v.e[neuroleadLanguage].avatar})}),(0,x.Y)("div",{class:"nld-container",children:(0,x.Y)("div",{class:"nld-sel nld-date",children:(0,x.Y)("div",{class:"nld-cal",ontouchstart:this.onTouchStart.bind(this),ontouchmove:this.onTouchMove.bind(this),children:this.renderGrid(t,e)})})}),(0,x.Y)("div",{class:"nld-clear"})]})}}class Fi extends An{constructor(t){super(t),this.conf={minutes:{cycleSteps:12,angleDivisor:6,offsetZero:!1},hours:{cycleSteps:12,angleDivisor:30,offsetZero:!0}},this.mouseIsDown=!1,this.state={done:!1,animated:!0,minutes:0,hours:12,isPM:!0},this.empty(t.options)?this.options={nominutes:!1,nonight:!1}:this.unwrapOptions(t.options),this.onSelect(null,"hours"),setTimeout((()=>this.setState({animated:!1})),500)}empty(t){return!t||(Array.isArray(t)?0==t.length:0==Object.keys(t).length)}unwrapOptions(t){if(Array.isArray(t)){this.options={};for(let e of t)this.options[e]=!0}else this.options=t}to24h(){let t=this.state.hours;return this.state.isPM&&(t+=12,t>=24&&(t=0)),t}onSubmit(){this.props.conversation.onUserInput(this.zeroPad(this.to24h())+":"+this.zeroPad(this.state.minutes)),this.setState({done:!0})}onSelect(t,e){this.options["9-5"]&&null!==t||this.options.nominutes&&null!==t||this.setState({target:e,cycleSteps:this.conf[e].cycleSteps,angleDivisor:this.conf[e].angleDivisor,offsetZero:this.conf[e].offsetZero})}setIsPM(t){this.options["9-5"]||this.options.nonight||this.setState({isPM:t})}timeDisabled(t){return this.options["9-5"]?t>5&&t<9:void 0!==this.options.min&&void 0!==this.options.max&&(t>this.options.min&&t[t[0]+e.screenX,t[1]+e.screenY]),[0,0]).map((t=>t/e.length))}onTouchMove(t){const e=this.averageTouches(t.touches);this.setTimeFromPosition(e[0],e[1]),t.preventDefault()}renderClockNumber(t){return this.options.display24h&&t<6?t+12:t}renderClockNumbers(t,e){let n=[];const i=360/e.angleDivisor/e.cycleSteps;if(e.offsetZero)for(let t=i;t<=360/e.angleDivisor;t+=i)n.push(t);else for(let t=0;t<360/e.angleDivisor;t+=i)n.push(t);return n.map((t=>[t,t*e.angleDivisor-90])).map((t=>{const[n,i]=t,o=50*Math.cos(Math.PI*i/180)+50,a="top: "+(50*Math.sin(Math.PI*i/180)+50)+"%; left: "+o+"%;";let r=["nld-clock-num"];return n===e[e.target]&&r.push("nld-selected"),this.timeDisabled(n)&&r.push("nld-disabled"),(0,x.Y)("div",{class:r.join(" "),style:a,onclick:t=>this.onClick(t,n),children:(0,x.Y)("span",{children:this.renderClockNumber(n)})})}))}timeAngle(t){return t*this.state.angleDivisor-90}renderClockPointer(t,e){const n="transform: rotate("+this.timeAngle(e[e.target])+"deg);";return(0,x.Y)("div",{class:"nld-pointer",style:n})}zeroPad(t){return t<10?"0"+t:""+t}render(t,e){return e.done?null:(0,x.FD)("div",{class:"nld-group nld-"+t.side,children:[t.avatar&&(0,x.Y)("div",{class:"nld-msg-avatar",children:(0,x.Y)("img",{class:"nld-img",src:"https://cdn.leadster.com.br/neurolead/img/avatar.png",alt:v.e[neuroleadLanguage].avatar})}),(0,x.Y)("div",{class:"nld-container",children:(0,x.FD)("div",{class:"nld-sel nld-time"+(e.animated?" nld-shown":""),children:[(0,x.FD)("div",{class:"nld-timedisplay",children:[(0,x.Y)("div",{class:"nld-hours"+("hours"===e.target?" nld-selected":""),onclick:t=>this.onSelect(t,"hours"),children:this.zeroPad(this.renderClockNumber(e.hours))}),(0,x.Y)("div",{class:"nld-sep",children:":"}),(0,x.Y)("div",{class:"nld-minutes"+("minutes"===e.target?" nld-selected":""),onclick:t=>this.onSelect(t,"minutes"),children:this.zeroPad(e.minutes)}),(0,x.FD)("div",{class:"nld-period",children:[(0,x.Y)("div",{class:"nld-day"+(e.isPM?"":" nld-selected"),onclick:t=>this.setIsPM(!1),children:"AM"}),(0,x.Y)("div",{class:"nld-night"+(e.isPM?" nld-selected":""),onclick:t=>this.setIsPM(!0),children:"PM"})]})]}),(0,x.Y)("div",{class:"nld-timepicker",children:(0,x.Y)("div",{class:"nld-clock",onmousedown:this.onMouseDown.bind(this),onmousemove:this.onMouseMove.bind(this),onmouseleave:this.onMouseUp.bind(this),onmouseup:this.onMouseUp.bind(this),ontouchmove:this.onTouchMove.bind(this),ref:t=>this.clockDiv=t,children:(0,x.FD)("div",{class:"nld-num-container",children:[this.renderClockNumbers(t,e),(0,x.Y)("div",{class:"nld-pivot",children:this.renderClockPointer(t,e)})]})})})]})})]})}}const Oi={on(t,e){document.getElementById("nld-event-bus").addEventListener(t,(t=>e(t.detail)))},dispatch(t,e){document.getElementById("nld-event-bus").dispatchEvent(new CustomEvent(t,{detail:e}))},remove(t,e){document.getElementById("nld-event-bus").removeEventListener(t,e)}};class Bi extends _.uA{constructor(){super(),this.state={clicked:!1},this.handleClickLink=this.handleClickLink.bind(this)}componentDidMount(){Oi.dispatch("storeAnalyticBlockInfo",{name:"whatsapp",action:"view",label:this.props.blockConfiguration.label,uid:this.props.blockConfiguration.uid})}handleClickLink(){this.setState({clicked:!0},(()=>{Oi.dispatch("cancelAutoRedirect"),Oi.dispatch("storeAnalyticBlockInfo",{name:"whatsapp",action:"click",label:this.props.blockConfiguration.label,uid:this.props.blockConfiguration.uid,payload:{phone:this.props.blockConfiguration.selectedPhoneNumber}})}))}render(t){let{botMessage:e,link:n}=t;return(0,x.FD)("div",{children:[e,(0,x.Y)("a",{href:n,class:"whatsapp-link",target:"_blank",onClick:this.state.clicked?null:this.handleClickLink,children:(0,x.FD)("div",{children:[(0,x.Y)("img",{src:"https://cdn.leadster.com.br/neurolead/img/wpp_logo.png",alt:v.e[neuroleadLanguage].whatsapp}),v.e[neuroleadLanguage].send_whatsapp]})})]})}}class Ui{static evaluate(t,e){const{mainOperator:n,conditions:i}=t;return"OR"===n?i.some((t=>this.isMatchCondition(t,e))):"AND"===n&&i.every((t=>this.isMatchCondition(t,e)))}static isMatchCondition(t,e){const{field:n,operator:i,values:o}=t,a=this.getComparisonFunction(i);return!!e.hasOwnProperty(n)&&o.some((t=>{const i=(t=>{let e=document.createElement("textarea");return e.innerHTML=t,e.value})(String(e[n])),o=String(t);return a(i,o)}))}static getComparisonFunction(t){switch(t){case"=":return(t,e)=>t.toLowerCase()===e.toLowerCase();case"!=":return(t,e)=>t.toLowerCase()!==e.toLowerCase();case">":return(t,e)=>parseFloat(t)>parseFloat(e);case">=":return(t,e)=>parseFloat(t)>=parseFloat(e);case"<":return(t,e)=>parseFloat(t)parseFloat(t)<=parseFloat(e);case"matches":return(t,e)=>t.toLowerCase().includes(e.toLowerCase());case"doesn't match":return(t,e)=>!t.toLowerCase().includes(e.toLowerCase())}}}const Yi=new class{constructor(){this.client=this._buildClient()}getClient(){return this.client}setDefaultHeaders(t){this.client.defaults.headers.common=t}get(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.client.get(t,{params:e},n)}post(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.client.post(t,e,n)}put(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.client.put(t,e,n)}delete(t){return this.client.delete(t,config)}_buildClient(){return dn.create({baseURL:hn,headers:{"Content-Type":"application/json"}})}};function zi(){let t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/ /g," ").replace(//gi,"").replace(/([\s\S]*?)<\/b>/g,((t,e)=>`*${e.trim()}*`)).replace(/([\s\S]*?)<\/i>/g,((t,e)=>`_${e.trim()}_`)).replace(/([\s\S]*?)<\/s>/g,((t,e)=>`~${e.trim()}~`)).replace(/<\/?p>/g,"\n").replace(/\n\s*\n/g,"\n").replace(/^\n+|\n+$/g,"").trim();const e=document.createElement("textarea");return e.innerHTML=t,t=e.value,t}const ji=0,Wi=1,Vi=2,qi=3,Hi=4,Ji=5,Gi=6,Qi=7,Zi=8,Ki=9,Xi=10,$i=11,to=12,eo=13,no=14,io=15;class oo{constructor(t,e,n){this.callOnModulesLoad=n,this.callOnStateChange=[],this.conversation=t,this.inputState=xn.Disabled,this.data=this.ingestVariables(e),this.localData=this.ingestVariables(e),this.script=[],this.position=0,this.step=0,this.currentMessage=null,this.smartCall=new kn,this.forceUpdate=this.forceUpdate.bind(this)}ingestVariables(t){const e=window.neuroIngest||{};let n={};return Object.keys(e).forEach((t=>n[t]=e[t])),t.forEach((t=>Object.keys(window[t]).forEach((e=>{n[t+"."+e]=window[t][e]})))),n}isConditionalBlock(t){return"if"in t&&"then"in t}isUsingSameConditional(t,e){return!!this.isConditionalBlock(t)&&(!!this.isConditionalBlock(e)&&JSON.stringify(t.if)===JSON.stringify(e.if))}processConditionalBlock(t){if(!this.isConditionalBlock(t))return t;const{if:e,then:n}=t;return(Ui.evaluate(e,this.data)||Ui.evaluate(e,this.localData))&&n||null}next(){if(0===this.script.length)this.currentMessage=null;else if(this.position=this.script.length)return!0;for(let t=this.position;twindow.location.href}];let n=t.replace(/{{.*?}}/g,(t=>{const n=t.match(/{{(.*)}}/)[1];let i=this.data[n];return e.forEach((t=>{n===t.name&&(i=t.getValue())})),null==i?"":i}));return n=this.substituteOldVariables(n),n}substituteOldVariables(t){var e;return t.replace(/{previous-word}/g,(e=(this.currentAnswer||"...").split(" ")[0],"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1))).replace(/{previous-answer}/g,this.currentAnswer||"...")}inOnValidWhatsappSchedule(t){if(!t.useSchedule)return!0;const e=t.schedules||[],n=this.conversation.newDateWithCompanyTimeZone();return!!e.find((t=>{let e,i,o,a;[e,i]=t.startAt.split(":"),[o,a]=t.endAt.split(":");const r=new Date(n.getFullYear(),n.getMonth(),n.getDate(),e,i,0),s=new Date(n.getFullYear(),n.getMonth(),n.getDate(),o,a,0);if(n>r&&ne(!0,n);return t.useAutoRedirect?(a=()=>{this.conversation.addRedirectBlock(v.e[neuroleadLanguage].open_your_whatsapp,i,(()=>e(!0,n)),t,!1)},this.conversation.addBlock("left",null,null,o,a)):this.conversation.addMessage("left",o,a);case eo:const r=t.introduction_text,s=t.representatives,l=()=>{this.conversation.addScheduler("right",t,(()=>e(!0,this.forceUpdate)))};return null!=r&&r.length&&s.length?this.conversation.addBlock("left",null,null,r,l):l(),e(!1,n);case no:if(!t.botId)return e(!0,n);const c=()=>{this.conversation.addIaInteraction("left",t,(()=>e(!0,this.forceUpdate)))};return t.say?this.conversation.addBlock("left",null,null,this.substituteVariables(t.say),c):c(),e(!1,n);case io:return this.conversation.addAdsEventsBlock(t),e(!0,n);case to:const d=this.substituteVariables(t.botMessage||"");let u=this.substituteVariables(t.redirectLink||"#");return u=encodeURI(u),this.conversation.addRedirectBlock(d,u,(()=>e(!0,n)),t,!0);case ji:let h=this.substituteVariables(t.say||"");return this.conversation.addMessage("left",h,(()=>e(!0,n)));case Wi:const p=this.smartCall.selectUpdatedFirstBlockMessages(t.messages);return this.conversation.addSelector("left",Nn,t.from,p),e(!1,n);case qi:return this.conversation.addSelector("right",Fn,t.from),e(!1,n);case Hi:return this.conversation.addSelector("right",On,t.from),e(!1,n);case Ji:return this.conversation.addSelector("right",Ni,t.config),e(!1,n);case Gi:return this.conversation.addSelector("right",Fi,t.config),e(!1,n);case Vi:return this.inputType=t.type||"text",this.inputValidate=t.validate,this.inputOptions=t.from,this.inputConfig=t.config,e(!1,n);case Zi:const g=t=>{this.currentMessage=this.processConditionalBlock(t),this.loadMessage(this.currentMessage,this.asyncNextMessage.bind(this),this.forceUpdate)};return this.callOnModulesLoad((()=>{const e=window[t.api.function];"function"==typeof e&&e(t.api.data||{},g)})),e(!1,n);case Ki:return e(!1,n);case Xi:return e(!0,n)}}finishByConditional(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!this.currentMessage)return!1;const e=this.script[t],n=this.script[t+1];return!(!e||!n)&&(!!this.isConditionalBlock(e)&&(!!e.finish_flow&&(!this.isConditionalBlock(n)||!this.isUsingSameConditional(e,n))))}asyncNextMessage(t,e){if(t){const t=this.next();t?this.loadMessage(t,this.asyncNextMessage.bind(this),e):e(!0)}else e(!1),setTimeout((()=>this.runStateChangeCallbacks()),0)}onStart(t,e){this.script=t,this.asyncNextMessage(!0,(t=>{e(t)}))}onUserInput(t,e){if(!this.currentMessage)return{name:"",value:"",done:!0};const n=this.currentMessage.save;this.data[this.currentMessage.save]=Y(t),this.currentAnswer=t,this.asyncNextMessage(!0,(i=>{this.step+=1,e&&e({name:n,value:t,done:i})}))}runStateChangeCallbacks(){for(let t of this.callOnStateChange)t()}clearChangeCallbacks(){this.callOnStateChange=[]}forceUpdate(){this.conversation.forceUpdate(),this.runStateChangeCallbacks()}getIngestedData(){return Object.keys(this.data).map((t=>({name:t,value:this.data[t]})))}getInputState(){return this.inputState}isAcceptingInput(){return this.inputState!==xn.Waiting}onInputStateChange(t){this.callOnStateChange.push(t)}getInputType(){return this.inputType}getInputValidate(){return this.inputValidate}getInputOptions(){return this.inputOptions}getInputConfig(){return this.inputConfig}}class ao extends _.uA{constructor(){super()}render(t,e){let{messages:n,side:i,avatar:o,timestamp:a,conversation:r,typing:s,proceed:l}=t;return(0,x.FD)("div",{class:"nld-group nld-"+i,children:[o&&(0,x.Y)("div",{class:"nld-msg-avatar",children:(0,x.Y)("img",{class:"nld-img",src:o,alt:v.e[neuroleadLanguage].avatar})}),(0,x.Y)("div",{class:"nld-container",children:n.map(((t,e)=>{const i=n[e-1]?n[e-1].content:"";return(0,x.Y)(Rn,{proceed:l,typing:s,content:t.content,previousMessageContent:i,conversation:r,timestamp:a})}))}),(0,x.Y)("div",{class:"nld-clear"})]})}}const ro={countdownContainer:{display:"flex",justifyContent:"center",alignItems:"center",position:"relative"},svg:{position:"absolute",top:0,left:0,width:"100%",height:"100%",transform:"rotateY(-180deg) rotateZ(-90deg)",overflow:"unset"}};class so extends _.uA{constructor(t){super(t),this.milliseconds=1e3*this.props.seconds,this.radius=this.props.size/2,this.circumference=this.props.size*Math.PI,this.state={countdown:this.milliseconds,isPlaying:!1},this.interval=null,this.startTimer=this.startTimer.bind(this),this.strokeDashoffset=this.strokeDashoffset.bind(this)}componentDidMount(){this.startTimer()}componentWillUnmount(){clearInterval(this.interval)}strokeDashoffset(){return this.circumference-this.state.countdown/this.milliseconds*this.circumference}startTimer(){this.setState({isPlaying:!0}),this.interval=setInterval((()=>{this.setState({countdown:this.state.countdown-10}),0===this.state.countdown&&clearInterval(this.interval)}),10)}render(){const t={height:this.props.size,width:this.props.size},e={color:this.props.strokeColor,fontSize:.3*this.props.size},n=(this.state.countdown/1e3).toFixed();return(0,x.FD)("div",{style:Object.assign({},ro.countdownContainer,t),children:[(0,x.Y)("p",{style:e,children:n}),(0,x.Y)("svg",{style:ro.svg,children:(0,x.Y)("circle",{cx:this.radius,cy:this.radius,r:this.radius,fill:"none",stroke:this.props.strokeBgColor,"stroke-width":this.props.strokeWidth})}),(0,x.Y)("svg",{style:ro.svg,children:(0,x.Y)("circle",{"stroke-dasharray":this.circumference,"stroke-dashoffset":this.state.isPlaying?this.strokeDashoffset():0,r:this.radius,cx:this.radius,cy:this.radius,fill:"none","stroke-linecap":"round",stroke:this.props.strokeColor,"stroke-width":this.props.strokeWidth})})]})}}class lo extends _.uA{constructor(t){super(),this.redirectInterval=null,this.proceed=t.proceed,this.alreadyProceeded=!1,this.blockConfigurations=t.options.blockConfiguration,this.isWhatsAppBlock=!0===this.blockConfigurations.whatsapp,this.useCancelAutomaticRedirectTime=!!this.blockConfigurations.useCancelAutomaticRedirectTime,this.isLastBlock=t.conversation.flow.isLastBlock(),this.state={seconds:this.useCancelAutomaticRedirectTime?1:5,closed:!1},this.countDown=this.countDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleClickOnCancel=this.handleClickOnCancel.bind(this),this.handleClickOnWhatsapp=this.handleClickOnWhatsapp.bind(this),this.proccedTransaction=this.proccedTransaction.bind(this)}proccedTransaction(){this.alreadyProceeded||(this.alreadyProceeded=!0,this.proceed())}handleClickOnWhatsapp(){this.isWhatsAppBlock&&Oi.dispatch("storeAnalyticBlockInfo",{name:"whatsapp",action:"click",uid:this.blockConfigurations.uid,label:this.blockConfigurations.label,payload:{phone:this.blockConfigurations.selectedPhoneNumber}})}handleClickOnCancel(t){t.preventDefault(),this.handleCancel(),this.isWhatsAppBlock&&Oi.dispatch("storeAnalyticBlockInfo",{name:"whatsapp",action:"cancel",uid:this.blockConfigurations.uid,label:this.blockConfigurations.label})}componentDidMount(){this.redirectInterval=setInterval(this.countDown,1e3),Oi.on("cancelAutoRedirect",(()=>this.handleCancel())),this.isLastBlock&&this.proccedTransaction()}componentWillUnmount(){clearInterval(this.redirectInterval),Oi.remove("cancelAutoRedirect")}countDown(){1===this.state.seconds&&(this.isWhatsAppBlock&&Oi.dispatch("storeAnalyticBlockInfo",{name:"whatsapp",action:"redirect",uid:this.blockConfigurations.uid,label:this.blockConfigurations.label,payload:{phone:this.blockConfigurations.selectedPhoneNumber}}),this.proccedTransaction()),0===this.state.seconds&&(clearInterval(this.redirectInterval),this.handleCancel(),setTimeout((()=>{parent.window?this.handleRedirect(this.props.options.redirectLink,parent.window):this.handleRedirect(this.props.options.redirectLink)}),500)),this.setState({seconds:this.state.seconds-1})}handleCancel(){this.setState({closed:!0}),clearInterval(this.redirectInterval),setTimeout(this.proccedTransaction,500)}handleRedirect(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;const n=new RegExp(/(http|https):\/\/[\W\w]{14,23}\/[\w]{7}\/[\d]{1,10}\/[\w]{4}/);void 0!==e.neuroleadDefaultScript&&"-1"===e.neuroleadDefaultScript.companyId&&n.test(e.location.href)?e.open(t,"_blank"):e.location=t}render(t){let{messages:e}=t;const n=this.props.options.keepLink&&this.state.closed,i=this.state.closed;return(0,x.FD)("div",{className:"nld-group nld-left "+(i&&!n?"nld-hidden-slideup":"nld-shown"),style:{marginLeft:45},children:[(0,x.Y)("div",{className:"nld-container",children:(0,x.Y)("div",{className:"nld-msg",children:(0,x.Y)("div",{className:"nld-bubble",style:{width:"100%"},children:n?(0,x.FD)("div",{children:[(0,x.Y)("div",{children:e}),(0,x.Y)("a",{href:this.props.options.redirectLink,target:"_blank",onClick:this.handleClickOnWhatsapp,children:v.e[neuroleadLanguage].access_now})]}):(0,x.FD)("div",{style:{display:"flex"},children:[!this.useCancelAutomaticRedirectTime&&this.state.seconds>=1&&(0,x.Y)("div",{style:{marginRight:10},children:(0,x.Y)(so,{seconds:this.state.seconds,size:40,strokeBgColor:"#CCC",strokeColor:"gray",strokeWidth:4})}),(0,x.FD)("div",{children:[(0,x.Y)("div",{children:e}),(0,x.Y)("a",{href:"#",onClick:this.handleClickOnCancel,children:!this.useCancelAutomaticRedirectTime&&v.e[neuroleadLanguage].cancel_redirect})]})]})})})}),(0,x.Y)("div",{className:"nld-clear"})]})}}var co=o(756),uo={};uo.styleTagTransform=p(),uo.setAttributes=c(),uo.insert=s().bind(null,"head"),uo.domAPI=a(),uo.insertStyleElement=u();n()(co.A,uo);co.A&&co.A.locals&&co.A.locals;var ho=o(117),po={};po.styleTagTransform=p(),po.setAttributes=c(),po.insert=s().bind(null,"head"),po.domAPI=a(),po.insertStyleElement=u();n()(ho.A,po);ho.A&&ho.A.locals&&ho.A.locals;function go(t,e){return new Intl.DateTimeFormat(e,{year:"numeric",month:"2-digit",day:"2-digit"}).format(t)}function mo(t,e){const[n,i]=t.split(":"),o=new Date;o.setHours(n),o.setMinutes(i);return new Intl.DateTimeFormat(e,{hour:"2-digit",minute:"2-digit"}).format(o).toLowerCase()}class fo extends _.uA{constructor(t){super(t),this.conversationMetadata=t.conversation.props.metadata,this.options=t.options,this.proceed=t.proceed,this.state={done:!1,date:t.date||new Date,selected:new Date(0,0,0),selectedRepresentativeId:null,time:null,calendarView:!0,dayView:!1,confirmationView:!1,errorMessageView:!1,successfulView:!1,availableTimes:{},continueButton:`${v.e[neuroleadLanguage].loading}...`},this.onPrevMonth=this.onPrevMonth.bind(this),this.onNextMonth=this.onNextMonth.bind(this),this.cancelCalendar=this.cancelCalendar.bind(this),this.displayDayView=this.displayDayView.bind(this),this.displayCalendar=this.displayCalendar.bind(this),this.displayConfirmationView=this.displayConfirmationView.bind(this),this.sendSchedulerRequest=this.sendSchedulerRequest.bind(this)}onSelectDay(t){this.isDisabled(t)||(this.setState({selected:t}),this.activateContinueButton())}onNextMonth(){const t=new Date(this.state.date),e=t.setMonth(t.getMonth()+1);this.setState({date:e})}onPrevMonth(){const t=new Date(this.state.date),e=t.setMonth(t.getMonth()-1);this.setState({date:e})}isDisabled(t){const e=new Date,n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),i=this.getFormattedDate(t),o=this.state.availableTimes[i]||[],a=[];return a.push(0===o.length),a.push(te||t),!1)}renderWeekdays(t,e){return(0,x.Y)("div",{class:"calendar-row calendar-title",children:v.e[neuroleadLanguage].days.map((t=>(0,x.Y)("div",{class:"calendar-cell",children:t})))})}renderRow(t,e){return Array.apply(0,new Array(7)).map((t=>{const e=new Date(this.date.getTime()),n=e.getDate();let i="calendar-cell";const o=e.getMonth()+12*e.getFullYear(),a=this.month+12*this.year;return oa?(this.date.setDate(n+1),(0,x.Y)("div",{class:"calendar-cell"})):(i+=" calendar-this-month",this.isDisabled(e)&&(i+=" calendar-disabled"),this.date.getTime()===(new Date).setHours(0,0,0,0)&&(i+=" calendar-today"),this.date.getTime()===this.state.selected.getTime()&&(i+=" calendar-selected"),this.date.setDate(n+1),(0,x.Y)("div",{class:i,onclick:()=>this.onSelectDay(e),children:n}))}))}renderHeader(t,e){const n=v.e[neuroleadLanguage].months;return(0,x.Y)("div",{class:"calendar-row nld-calendar-header",children:(0,x.FD)("div",{class:"nld-calendar-header",children:[(0,x.Y)("div",{class:"calendar-prev",id:"calendar-prev-arrow",onclick:this.onPrevMonth,children:"<"}),n[this.month]+" "+v.e[neuroleadLanguage].date_preposition+" "+this.year,(0,x.Y)("div",{class:"calendar-next",id:"calendar-next-arrow",onclick:this.onNextMonth,children:">"})]})})}renderGrid(t,e){const n=Array.apply(0,new Array(6)).map((n=>(0,x.Y)("div",{class:"calendar-row",children:this.renderRow(t,e)})));return[this.renderHeader(t,e)].concat([this.renderWeekdays(t,e)].concat(n))}fetchAvailableCalendar(){let t=document.getElementById("scheduler-continue-button-calendar"),e=document.getElementById("calendar-prev-arrow"),n=document.getElementById("calendar-next-arrow");t.classList.remove("disabled"),e.classList.add("disabled"),n.classList.add("disabled");const i={representative_id:this.state.selectedRepresentativeId,script_version_id:this.conversationMetadata.scriptVersionId,script:this.conversationMetadata.scriptId,company:this.conversationMetadata.companyId,block_configurations:JSON.stringify(this.options),block_uid:this.options.uid,is_mobile:(0,_n.F)(),time_zone_lead:Intl.DateTimeFormat().resolvedOptions().timeZone};Yi.get("/schedules/available-calendar",i).then((i=>{const o=i.data.available_times,a=i.data.representative_id;this.setState({selectedRepresentativeId:a,availableTimes:o,continueButton:v.e[neuroleadLanguage].continue},(()=>{e.classList.remove("disabled"),n.classList.remove("disabled"),t.classList.add("disabled")}))})).catch((t=>{this.setState({calendarView:!1}),this.setState({errorMessageView:!0}),this.setState({continueButton:v.e[neuroleadLanguage].continue})}))}componentDidMount(){if(!this.options.representatives.length)return this.setState({calendarView:!1}),this.proceed();Oi.dispatch("storeAnalyticBlockInfo",{name:"scheduler",action:"view",label:this.options.label,uid:this.options.uid}),this.fetchAvailableCalendar()}async findAvailableRepresentative(){return await Yi.get("/schedules/available-representative",{script_version_id:this.conversationMetadata.scriptVersionId,script:this.conversationMetadata.scriptId,block_uid:this.options.uid,is_mobile:(0,_n.F)()}).then((t=>t.data.representative_id)).catch((t=>(this.setState({calendarView:!1}),this.setState({errorMessageView:!0}),this.setState({continueButton:v.e[neuroleadLanguage].continue}),null)))}cancelCalendar(){this.proceed(),this.setState({done:!0}),Oi.dispatch("storeAnalyticBlockInfo",{name:"scheduler",action:"cancel",label:this.options.label,uid:this.options.uid})}schedulerCalendar(t,e){const n=new Date(e.date),i=n.getMonth(),o=n.getFullYear();return this.date=new Date(o,i),this.date.setDate(1-this.date.getDay()),this.month=i,this.year=o,(0,x.FD)("div",{class:"nld-group nld-"+t.side,children:[(0,x.FD)("div",{class:"nld-scheduler-container",children:[(0,x.Y)("div",{class:"nld-calendar",children:this.renderGrid(t,e)}),(0,x.FD)("div",{class:"scheduler-action-buttons-container",children:[(0,x.Y)("div",{class:"scheduler-cancel-button",onclick:this.cancelCalendar,children:v.e[neuroleadLanguage].cancel}),(0,x.Y)("div",{class:"scheduler-continue-button disabled",onclick:this.displayDayView,id:"scheduler-continue-button-calendar",children:this.state.continueButton})]})]}),(0,x.Y)("div",{class:"nld-clear"})]})}chooseTime(t,e){this.setState({time:t}),this.state.availableTimes[e].forEach((t=>{document.getElementById(`scheduler-time-available-${t}`).classList.remove("active")}));document.getElementById(`scheduler-time-available-${t}`).classList.add("active");let n=document.getElementById("scheduler-continue-button-available-time");n.classList.remove("disabled"),n.classList.add("active"),this.setState({continueButton:v.e[neuroleadLanguage].schedule})}getFormattedDate(t){let e=t.getDate(),n=t.getMonth()+1;return`${t.getFullYear()}/${n}/${e}`}checkAvailableTimes(t){const e=this.getFormattedDate(t.selected),n=this.state.availableTimes[e].map((t=>(0,x.Y)("span",{onclick:()=>this.chooseTime(t,e),class:"scheduler-time-available",id:`scheduler-time-available-${t}`,children:mo(t,neuroleadLanguage)},t)));return(0,x.Y)("div",{class:"scheduler-time-available-container",children:n})}schedulerDay(t,e){return(0,x.FD)("div",{class:"nld-group nld-"+t.side,children:[(0,x.FD)("div",{class:"nld-scheduler-container",children:[(0,x.Y)("div",{class:"scheduler-view-title",children:(0,x.Y)("span",{children:v.e[neuroleadLanguage].select_hour})}),this.checkAvailableTimes(e),(0,x.FD)("div",{class:"scheduler-action-buttons-container",children:[(0,x.Y)("div",{class:"scheduler-cancel-button",onclick:this.displayCalendar,children:v.e[neuroleadLanguage].return}),(0,x.Y)("div",{class:"scheduler-continue-button disabled",id:"scheduler-continue-button-available-time",onclick:this.displayConfirmationView,children:v.e[neuroleadLanguage].continue})]})]}),(0,x.Y)("div",{class:"nld-clear"})]})}addZero(t){return t<10?`0${t}`:t}confirmationDateFormater(t){return(0,x.Y)("div",{children:(0,x.Y)("span",{children:go(t,neuroleadLanguage)})})}getLeadData(){const t=window.neurolead.dataQueue||[],e=[];return t.forEach((t=>{let n=t.key,i=t.value;t.hasOwnProperty("then")&&(n=t.then.key,i=t.then.value),n.startsWith("nosync::")||e.push({name:n,value:i})})),e}getLeadEmail(t){const e=t.find((t=>t.name===this.options.email_field));return e?e.value:""}deactivateContinueButton(){this.setState({continueButton:`${v.e[neuroleadLanguage].sending}...`});let t=document.getElementById("scheduler-continue-button-confirmation");t.classList.remove("active"),t.classList.add("disabled")}sendSchedulerRequest(){this.deactivateContinueButton();const t=this.getFormattedDate(this.state.selected),e=this.state.time,n=this.getLeadData(),i=this.getLeadEmail(n),o={representative_id:this.state.selectedRepresentativeId,date:t,time:e,lead_data:n,guest_email:i,company:this.conversationMetadata.companyId,lead_id:this.conversationMetadata.guid,script_version_id:this.conversationMetadata.scriptVersionId,block_uid:this.options.uid,is_mobile:(0,_n.F)(),script:this.conversationMetadata.scriptId,time_zone_lead:Intl.DateTimeFormat().resolvedOptions().timeZone};Yi.post("/schedules",o).then((t=>{this.displaySuccessfulView(),this.proceed(),Oi.dispatch("storeAnalyticBlockInfo",{name:"scheduler",action:"scheduled",payload:{calendar_schedule_id:t.data.id},label:this.options.label,uid:this.options.uid})})).catch((()=>{this.setState({confirmationView:!1}),this.setState({errorMessageView:!0}),this.setState({continueButton:v.e[neuroleadLanguage].continue})}))}schedulerConfirmation(t,e){return(0,x.FD)("div",{class:"nld-group nld-"+t.side,children:[(0,x.FD)("div",{class:"nld-scheduler-container",children:[(0,x.Y)("div",{class:"scheduler-view-title",children:(0,x.Y)("span",{children:v.e[neuroleadLanguage].confirm_schedule})}),(0,x.FD)("div",{class:"scheduler-confirmation-elements",children:[(0,x.Y)("div",{class:"scheduler-confirmation-label",children:v.e[neuroleadLanguage].date}),(0,x.Y)("div",{class:"scheduler-confirmation-date-time",children:this.confirmationDateFormater(e.selected)}),(0,x.Y)("div",{class:"scheduler-confirmation-label",children:v.e[neuroleadLanguage].time}),(0,x.Y)("div",{class:"scheduler-confirmation-date-time",children:mo(e.time,neuroleadLanguage)})]}),(0,x.FD)("div",{class:"scheduler-action-buttons-container",children:[(0,x.Y)("div",{class:"scheduler-cancel-button",onclick:this.displayDayView,children:v.e[neuroleadLanguage].return}),(0,x.Y)("div",{class:"scheduler-continue-button active",id:"scheduler-continue-button-confirmation",onclick:this.sendSchedulerRequest,children:this.state.continueButton})]})]}),(0,x.Y)("div",{class:"nld-clear"})]})}schedulerErrorMessage(t,e){return(0,x.FD)("div",{class:"nld-group nld-"+t.side,children:[(0,x.FD)("div",{class:"nld-scheduler-container",children:[(0,x.Y)("div",{class:"scheduler-view-title",children:(0,x.Y)("span",{children:"Ops..."})}),(0,x.FD)("div",{class:"scheduler-error-message",children:[(0,x.Y)("div",{children:v.e[neuroleadLanguage].error_schedule_line_1}),(0,x.Y)("div",{children:v.e[neuroleadLanguage].error_schedule_line_2})]}),(0,x.Y)("div",{class:"scheduler-action-buttons-container",children:(0,x.Y)("div",{class:"scheduler-continue-button active",onclick:this.cancelCalendar,children:v.e[neuroleadLanguage].continue})})]}),(0,x.Y)("div",{class:"nld-clear"})]})}schedulerSuccessful(t,e){const n=this.state.selected.toLocaleDateString("pt-BR"),i=this.state.time;return(0,x.Y)("div",{class:"nld-group nld-"+t.side,children:(0,x.Y)("div",{className:"nld-container",children:(0,x.Y)("div",{className:"nld-msg",children:(0,x.FD)("div",{className:"nld-bubble",style:"text-align: center;",children:[(0,x.Y)("div",{children:v.e[neuroleadLanguage].scheduled_sucessfuly}),(0,x.Y)("strong",{children:`${n} ${v.e[neuroleadLanguage].at} ${i}`})]})})})})}activateContinueButton(){let t=document.getElementById("scheduler-continue-button-calendar");t.classList.remove("disabled"),t.classList.add("active")}displayCalendar(){this.setState({errorMessageView:!1}),this.setState({dayView:!1}),this.setState({calendarView:!0})}displayDayView(){this.setState({dayView:!0}),this.setState({calendarView:!1}),this.setState({confirmationView:!1})}displayConfirmationView(){this.setState({dayView:!1}),this.setState({confirmationView:!0})}displaySuccessfulView(){this.setState({confirmationView:!1}),this.setState({successfulView:!0})}render(t,e){if(e.done)return null;switch(!0){case this.state.calendarView:return this.schedulerCalendar(t,e);case this.state.dayView:return this.schedulerDay(t,e);case this.state.confirmationView:return this.schedulerConfirmation(t,e);case this.state.errorMessageView:return this.schedulerErrorMessage(t,e);case this.state.successfulView:return this.schedulerSuccessful(t,e);default:return(0,x.Y)(_.FK,{})}}}var bo=o(204),_o={};_o.styleTagTransform=p(),_o.setAttributes=c(),_o.insert=s().bind(null,"head"),_o.domAPI=a(),_o.insertStyleElement=u();n()(bo.A,_o);bo.A&&bo.A.locals&&bo.A.locals;var vo=o(402);const yo=N.Ay.input.withConfig({displayName:"styles__Input",componentId:"sc-g4nfor-0"})(["&&{border-color:"," !important;}"],(t=>t.borderColor)),xo=t=>{let{onChange:e,onSubmit:n,borderColor:i}=t;const[o,a]=(0,R.J0)(""),[r,s]=(0,R.J0)(null),l=(0,R.li)();(0,R.vJ)((()=>{l.current.focus()}),[]);const c=()=>{o&&(n(o),a(""))};return(0,R.vJ)((()=>{o.length>=255?s(v.e[neuroleadLanguage].wrong_messages.max_length):s(null)}),[o]),(0,x.FD)("div",{className:"input-custom-nld",children:[(0,x.Y)("div",{className:"nld-container",children:(0,x.Y)("div",{className:"nld-input-block-container",children:(0,x.FD)("div",{className:"nld-input",children:[r&&(0,x.FD)("div",{class:"nld-tooltip-error",children:[(0,x.Y)("span",{className:"me-1",children:"🤔"}),r]}),(0,x.Y)(yo,{ref:l,type:"text",borderColor:i,placeholder:v.e[neuroleadLanguage].leadster_ai["input-placeholder"],value:o,onKeyDown:t=>{"Enter"!==t.key&&13!==t.keyCode||c()},onChange:t=>{e(t.target.value),a(t.target.value)},maxLength:"255"}),(0,x.Y)("div",{className:"nld-submit",onClick:c})]})})}),(0,x.Y)("div",{className:"nld-clear"})]})},wo=N.Ay.button.attrs((()=>({type:"button"}))).withConfig({displayName:"styles__Button",componentId:"sc-5msjg6-0"})(["&&{color:#000 !important;font-size:12px !important;border:2px solid rgb(238,238,238) !important;border-radius:24px !important;background-color:#FFF !important;padding:8px 18px;position:fixed;bottom:89px;left:57px;cursor:pointer;opacity:0;pointer-events:none;transition:opacity linear 0.5s;",";}&&:hover{background-color:rgb(238,238,238) !important;}"],(t=>{let{isShown:e}=t;return e&&(0,N.AH)(["opacity:1;pointer-events:initial;"])})),ko=t=>{let{label:e,onFinish:n}=t;const[i,o]=(0,R.J0)(!1);return(0,R.vJ)((()=>{const t=setTimeout((()=>{o(!0)}),5e3);return()=>clearTimeout(t)}),[]),(0,x.Y)(wo,{onClick:()=>{n()},isShown:i,children:e})},Ao=()=>(0,x.FD)("div",{className:"loading-custom-nld",children:[(0,x.Y)("div",{className:"nld-container",children:(0,x.Y)("div",{className:"nld-loading-container",children:(0,x.Y)("div",{className:"nld-loading",children:(0,x.FD)("div",{className:"nld-sp-icon",children:[(0,x.Y)("div",{}),(0,x.Y)("div",{})]})})})}),(0,x.Y)("div",{className:"nld-clear"})]}),So=(0,N.i7)(["to{transform:rotate(360deg);}"]),Co=(0,N.i7)(["0%{transform:scale(0);opacity:0;}50%{opacity:1;}100%{transform:scale(1);opacity:0;}"]),To={secondary:"#6c757d",primary:"#007bff",success:"#28a745",danger:"#dc3545",warning:"#ffc107",info:"#17a2b8",light:"#f8f9fa",dark:"#343a40"},Io=N.Ay.div.withConfig({displayName:"styles__SpinnerBorder",componentId:"sc-nexex9-0"})(["&&{display:inline-block;width:",";height:",";vertical-align:text-bottom;border:0.25em solid currentColor;border-right-color:transparent;border-radius:50%;animation:"," 0.75s linear infinite;color:",";}"],(t=>t.size||"2rem"),(t=>t.size||"2rem"),So,(t=>To[t.color]||t.color||To.primary)),Mo=N.Ay.div.withConfig({displayName:"styles__SpinnerGrow",componentId:"sc-nexex9-1"})(["&&{display:inline-block;width:",";;height:",";;vertical-align:text-bottom;background-color:currentColor;border-radius:50%;opacity:0;animation:"," 0.75s linear infinite;color:",";}"],(t=>t.size||"2rem"),(t=>t.size||"2rem"),Co,(t=>To[t.color]||t.color||To.primary)),Eo=t=>{let{type:e="border",color:n,size:i}=t;const o="border"===e?Io:Mo;return(0,x.Y)(o,{color:n,size:i,role:"status"})};var Do=o(728),Lo=(0,Do.A)("filled","thumb-up-filled","IconThumbUpFilled",[["path",{d:"M13 3a3 3 0 0 1 2.995 2.824l.005 .176v4h2a3 3 0 0 1 2.98 2.65l.015 .174l.005 .176l-.02 .196l-1.006 5.032c-.381 1.626 -1.502 2.796 -2.81 2.78l-.164 -.008h-8a1 1 0 0 1 -.993 -.883l-.007 -.117l.001 -9.536a1 1 0 0 1 .5 -.865a2.998 2.998 0 0 0 1.492 -2.397l.007 -.202v-1a3 3 0 0 1 3 -3z",key:"svg-0"}],["path",{d:"M5 10a1 1 0 0 1 .993 .883l.007 .117v9a1 1 0 0 1 -.883 .993l-.117 .007h-1a2 2 0 0 1 -1.995 -1.85l-.005 -.15v-7a2 2 0 0 1 1.85 -1.995l.15 -.005h1z",key:"svg-1"}]]),Po=(0,Do.A)("filled","thumb-down-filled","IconThumbDownFilled",[["path",{d:"M13 21.008a3 3 0 0 0 2.995 -2.823l.005 -.177v-4h2a3 3 0 0 0 2.98 -2.65l.015 -.173l.005 -.177l-.02 -.196l-1.006 -5.032c-.381 -1.625 -1.502 -2.796 -2.81 -2.78l-.164 .008h-8a1 1 0 0 0 -.993 .884l-.007 .116l.001 9.536a1 1 0 0 0 .5 .866a2.998 2.998 0 0 1 1.492 2.396l.007 .202v1a3 3 0 0 0 3 3z",key:"svg-0"}],["path",{d:"M5 14.008a1 1 0 0 0 .993 -.883l.007 -.117v-9a1 1 0 0 0 -.883 -.993l-.117 -.007h-1a2 2 0 0 0 -1.995 1.852l-.005 .15v7a2 2 0 0 0 1.85 1.994l.15 .005h1z",key:"svg-1"}]]),Ro=(0,Do.A)("outline","thumb-up","IconThumbUp",[["path",{d:"M7 11v8a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-7a1 1 0 0 1 1 -1h3a4 4 0 0 0 4 -4v-1a2 2 0 0 1 4 0v5h3a2 2 0 0 1 2 2l-1 5a2 3 0 0 1 -2 2h-7a3 3 0 0 1 -3 -3",key:"svg-0"}]]),No=(0,Do.A)("outline","thumb-down","IconThumbDown",[["path",{d:"M7 13v-8a1 1 0 0 0 -1 -1h-2a1 1 0 0 0 -1 1v7a1 1 0 0 0 1 1h3a4 4 0 0 1 4 4v1a2 2 0 0 0 4 0v-5h3a2 2 0 0 0 2 -2l-1 -5a2 3 0 0 0 -2 -2h-7a3 3 0 0 0 -3 3",key:"svg-0"}]]);const Fo=N.Ay.div.withConfig({displayName:"styles__TooltipError",componentId:"sc-krdqxu-0"})(["&&{position:absolute;display:inline-block;background:rgba(50,50,50,0.95);color:#fff;backdrop-filter:blur(6px);margin:0px;border-radius:8px;padding:6px 12px;font-size:14px !important;transform:translateY(-115%);box-shadow:0 4px 12px rgba(0,0,0,0.2);}&&:after{content:'';position:absolute;display:block;width:12px;height:12px;transform-origin:50% 50%;transform:rotate(45deg);background:rgba(50,50,50,0.95);left:20px;top:auto;bottom:-6px;}"]),Oo=N.Ay.button.withConfig({displayName:"styles__Button",componentId:"sc-krdqxu-1"})(["&&{background-color:transparent;border:none;cursor:pointer;}"]),Bo=N.Ay.div.withConfig({displayName:"styles__FlexContainer",componentId:"sc-krdqxu-2"})(["&&{display:flex;align-items:center;}"]),Uo=t=>{let{messageId:e,leadId:n,companyId:i,scriptId:o}=t;const[a,r]=(0,R.J0)(null),[s,l]=(0,R.J0)(!1),[c,d]=(0,R.J0)(!1),[u,h]=(0,R.J0)(""),p=t=>{d(!0),l(!1);(-1===i?g:m)(t).then((()=>{r(t),d(!1)})).catch((()=>{l(!0),d(!1),r(null),h(v.e[neuroleadLanguage].wrong_messages.error_request)}))},g=t=>Yi.put(`/ai/history_tracker/${e}/evaluate`,{evaluation:t},{baseURL:un()}),m=t=>{const i={evaluation:t,lead_id:n,history_tracker_id:e,script:o};return Yi.put("/ai/conversation/evaluate",i)};if((0,R.vJ)((()=>{if(s){const t=setTimeout((()=>{l(!1),h("")}),3e3);return()=>clearTimeout(t)}}),[s]),null!==a){const t=a?v.e[neuroleadLanguage].leadster_ai.thumbs_up:v.e[neuroleadLanguage].leadster_ai.thumbs_down;return(0,x.Y)("div",{className:"nld-group nld-lef",style:{marginLeft:70},children:(0,x.Y)(Oo,{title:t,disabled:!0,children:!0===a?(0,x.Y)(Lo,{width:16,height:16}):(0,x.Y)(Po,{width:16,height:16})})})}return(0,x.Y)("div",{className:"nld-group nld-lef",style:{marginLeft:70},children:(0,x.FD)("div",{style:{position:"relative"},children:[s&&u&&(0,x.Y)(Fo,{children:u}),c?(0,x.Y)(Eo,{type:"grow",color:"secondary"}):(0,x.FD)(Bo,{children:[(0,x.Y)(Oo,{title:v.e[neuroleadLanguage].leadster_ai.thumbs_up,onClick:()=>p(!0),children:(0,x.Y)(Ro,{width:16,height:16})}),(0,x.Y)(Oo,{title:v.e[neuroleadLanguage].leadster_ai.thumbs_down,onClick:()=>p(!1),children:(0,x.Y)(No,{width:16,height:16})})]})]})})};class Yo extends _.uA{constructor(){super()}handleClickReset(t){t.preventDefault(),neurolead.reload()}render(){return(0,x.FD)("a",{href:"#",class:"reset-chat",onClick:this.handleClickReset,children:[v.e[neuroleadLanguage].restart_chat,(0,x.Y)("img",{src:"https://cdn.leadster.com.br/neurolead/img/restart_chat.png",alt:v.e[neuroleadLanguage].restart_chat,title:v.e[neuroleadLanguage].restart_chat,height:20})]})}}const zo=(t,e,n,i)=>"recommendation"===t&&"e_commerce"===e?0===n.length?v.e[neuroleadLanguage]?.recommendation_not_found??"":v.e[neuroleadLanguage]?.recommendation_response??"":(t=>{let e=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/\n/g,"
")}(t);return e=function(){let t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g,((t,e,n)=>n));return t=t.replace(/(http|ftp|https):\/\/([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])/g,(t=>''+t+"")),t}(e),e=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/\*\*(.*?)\*\*/g,"$1")}(e),e})(i),jo=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{hours:24,days:0,minutes:0};if("undefined"==typeof document)return;const i=new Date,o=60*(n.hours||0)*60*1e3+24*(n.days||0)*60*60*1e3+60*(n.minutes||0)*1e3;i.setTime(i.getTime()+o);try{const n=encodeURIComponent(JSON.stringify(e));document.cookie=`${t}=${n}; domain=${window.location.hostname}; path=/; expires=${i.toUTCString()}; SameSite=Strict; Secure`}catch{return}},Wo=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if("undefined"==typeof document)return e;const i=document.cookie.split("; ").map((t=>t.split("="))).find((e=>e[0]===t));if(!i)return e;try{const t=decodeURIComponent(i[1]);return n?JSON.parse(t):t}catch{return i[1]}},Vo=(0,vo.RZ)((()=>o.e(101).then(o.bind(o,777))));class qo extends _.uA{constructor(t){super(t),this.state={isLoading:!1,isDone:!1,disconnectByIdle:!1,iteractionCounter:0},this.messagesContainerElement=window.document.getElementsByClassName("nld-container")[0],this.useSkipButton=!1,this.idleTimeout=null,this.retailerItemId=null,this.isProductsRecommendation=!1,this.endConversationLabel=this.props.options.endConversationLabel||v.e[neuroleadLanguage].leadster_ai.default_end_conversation_label,this.hasScrolledUpOnce=!1,this.isLastBlock=this.props.conversation.flow.isLastBlock.bind(this.props.conversation.flow),this.hasNextBlockWithUserInteraction=this.props.conversation.flow.hasNextBlockWithUserInteraction.bind(this.props.conversation.flow),this.sendQuestion=this.sendQuestion.bind(this),this.throttledStartIdleTimeout=function(t){let e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:400;return function(){const i=arguments,o=this;e||(t.apply(o,i),e=!0,setTimeout((()=>e=!1),n))}}(this.startIdleTimeout.bind(this),1e3),this.scrollToBottom=this.props.conversation.scrollToBottom.bind(this.props.conversation),this.scrollDown=this.props.conversation.scrollDown.bind(this.props.conversation),this.handleSkipConversation=this.handleSkipConversation.bind(this),this.setRetailerItemId=this.setRetailerItemId.bind(this),this.afterAddMessageCallback=this.afterAddMessageCallback.bind(this),this.afterAddProductsRecommendationCallback=this.afterAddProductsRecommendationCallback.bind(this),this.handleNewLead=this.handleNewLead.bind(this),this.handleAddMessage=this.handleAddMessage.bind(this),this.substituteVariables=this.props.conversation.flow.substituteVariables.bind(this.props.conversation.flow),this.newLead=this.props.conversation.props.newLead.bind(this.props.conversation.props),this.filterData=this.props.conversation.props.filterData.bind(this.props.conversation.props)}componentDidMount(){this.startIdleTimeout(),this.handleAddInputClasses(),Oi.on("updateRetailerItemId",this.setRetailerItemId),Oi.dispatch("viewedLeadsterAIBlock",{});const{systemQuestionEnabled:t=!1,systemQuestion:e}=this.props.options;t&&e&&this.sendQuestion(this.substituteVariables(e),!0)}componentWillUnmount(){Oi.remove("updateRetailerItemId",this.setRetailerItemId),this.clearIdleTimeout()}componentDidUpdate(t,e){!this.isLastBlock()&&this.state.iteractionCounter>=1&&this.addSkipButton(),this.isProductsRecommendation&&this.removeSkipButton(),e.iteractionCounter!==this.state.iteractionCounter&&1==this.state.iteractionCounter&&this.sendAnalyticEvents(),e.isDone!==this.state.isDone&&this.onUpdateIsDone(),e.isLoading!==this.state.isLoading&&this.onUpdateIsLoading()}onUpdateIsDone(){if(this.state.isDone){if(this.clearIdleTimeout(),this.handleRemoveInputClasses(),this.state.disconnectByIdle)return this.sendIdleTimeoutFeedback();this.props.proceed()}}onUpdateIsLoading(){this.state.isDone||this.state.isLoading||this.startIdleTimeout()}sendAnalyticEvents(){window.gtag&&window.gtag("event","leadster_ai_interaction")}startIdleTimeout(){this.clearIdleTimeout(),this.idleTimeout=setTimeout((()=>{this.setState({isDone:!0,disconnectByIdle:!0})}),3e5)}clearIdleTimeout(){clearTimeout(this.idleTimeout)}sendIdleTimeoutFeedback(){const t=v.e[neuroleadLanguage].leadster_ai.disconnected_by_idle_timeout;this.props.conversation.addMessage("left",t.message_01,this.scrollToBottom),setTimeout((()=>{this.props.conversation.addMessage("left",t.message_02,this.scrollToBottom),setTimeout((()=>{this.props.conversation.addMessage("right",(0,x.Y)(Yo,{}),this.scrollToBottom)}),1800)}),1500)}handleAddInputClasses(){this.messagesContainerElement.classList.remove("nld-full")}handleRemoveInputClasses(){this.messagesContainerElement.classList.add("nld-full"),this.useSkipButton&&this.removeSkipButton()}addSkipButton(){this.messagesContainerElement.classList.add("nld-skip-message"),this.useSkipButton=!0}removeSkipButton(){this.messagesContainerElement.classList.remove("nld-skip-message"),this.useSkipButton=!1}setRetailerItemId(t){this.retailerItemId=t}afterAddMessageCallback(){this.scrollToBottom(),this.setState({isLoading:!1})}afterAddProductsRecommendationCallback(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.scrollToBottom(),this.props.conversation.addCustomBlock("left",(()=>(0,x.Y)(vo.tY,{fallback:(0,x.Y)(Ao,{}),children:(0,x.Y)(Vo,{products:t,baseColor:this.props.conversation.colors.selected,avatar:this.props.avatar,onFinishLoad:()=>{if(this.setState({isLoading:!1}),!this.hasScrolledUpOnce){const t=.15,e=this.props.conversation.messagesContainer.offsetHeight*t;this.hasScrolledUpOnce=!0,this.scrollDown(e)}}})})))}addEvaluationBlock(t,e,n,i){this.props.conversation.addCustomBlock("left",(()=>(0,x.Y)(Uo,{messageId:t,leadId:e,companyId:n,scriptId:i})))}sendQuestion(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return;this.clearIdleTimeout(),this.trackAction("question_sent");const n=this.state.iteractionCounter+1;this.setState({isLoading:!0,iteractionCounter:n},(()=>{e||this.props.conversation.addMessage("right",t,this.scrollToBottom)}));const i=this.props.conversation.props.metadata,o=Wo(neurolead.userId,{lead_id:null}).lead_id||i.guid;(async t=>{try{const{data:e}=await Yi.post("/ai/conversation/sac_chatbot",t),n=e.recommendation_list??[];return{responseText:zo(e.intention,e.type_of_assistant,n,e.bot_message),recommendedProducts:n,isEndConversation:e.is_end_conversation,hasContext:!e.is_missing_context,id:e.id,intention:e.intention,isConditionalEvaluator:e.is_conditional_evaluator}}catch(t){throw t}})({message:t,company:i.companyId,script:i.scriptId,lead_id:o,bot_id:this.props.options.botId,block_uid:this.props.options.uid,retailer_item_id:this.retailerItemId,location:window.location.href||document.URL,language:neuroleadLanguage}).then((t=>{let{responseText:e,isEndConversation:n,recommendedProducts:a,hasContext:r,id:s,intention:l,isConditionalEvaluator:c}=t;this.isProductsRecommendation=!!a.length;const d=this.isProductsRecommendation?()=>this.afterAddProductsRecommendationCallback(a):this.afterAddMessageCallback;this.props.conversation.flow.localData[this.props.options.save]=l;c||this.checkConditionExists(l)?this.handleNewLead():this.handleAddMessage({responseText:e,hasContext:r,isEndConversation:n,intention:l,id:s,leadId:o,metadata:i,afterAddMessageCallback:d})})).catch((()=>{const t=v.e[neuroleadLanguage].leadster_ai.feedback_error;this.props.conversation.addMessage("left",t,this.afterAddMessageCallback)}))}checkConditionExists(t){const e=this.props.conversation.flow.script,n=this.props.options.save;for(const i of e)if(i.if&&i.if.conditions)for(const e of i.if.conditions)if(e.field===n&&e.values.includes(t))return!0;return!1}handleSkipConversation(){this.trackAction("click_continue",{copy:this.endConversationLabel}),this.setState({isLoading:!0},(()=>{this.props.conversation.addMessage("right",this.endConversationLabel,this.scrollToBottom)})),setInterval((()=>this.setState({isDone:!0})),1e3)}trackAction(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{uid:n,label:i,botId:o}=this.props.options;Oi.dispatch("storeAnalyticBlockInfo",{name:"ia_interaction",action:t,uid:n,label:i,payload:{assistantId:o,isLastBlock:this.isLastBlock(),...e}})}handleNewLead(){const t=()=>{};this.newLead(this.filterData(this.props.conversation.flow.data),this.props.conversation.flow.step,t),this.setState({isDone:!0,isLoading:!1}),this.hasNextBlockWithUserInteraction()||window.neurolead.syncCompletedWithBackend(t,t)}handleAddMessage(t){this.props.conversation.addMessage("left",t.responseText,(()=>{t.hasContext&&!t.isEndConversation&&"recommendation"!==t.intention&&this.addEvaluationBlock(t.id,t.leadId,t.metadata.companyId,t.metadata.scriptId),t.afterAddMessageCallback()})),t.isEndConversation&&this.handleSkipConversation()}render(){return this.state.isDone?null:this.state.isLoading?(0,x.Y)(Ao,{}):(0,x.FD)(x.FK,{children:[this.useSkipButton?(0,x.Y)(ko,{label:this.endConversationLabel,onFinish:this.handleSkipConversation}):null,(0,x.Y)(xo,{onChange:this.throttledStartIdleTimeout,onSubmit:this.sendQuestion,borderColor:this.props.conversation.colors.selected})]})}}const Ho=new class{installGa4(t){const e=document.createElement("script");e.src="https://www.googletagmanager.com/gtag/js?id="+t,document.head.appendChild(e),window.dataLayer=window.dataLayer||[],window.gtag=window.gtag||function(){dataLayer.push(arguments)},gtag("js",new Date),gtag("config",t)}installLeadsterGa4(){this.installGa4("G-43W2WYML5H")}installMetaPixel(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!function(t,e,n,i,o,a,r){t.fbq||(o=t.fbq=function(){o.callMethod?o.callMethod.apply(o,arguments):o.queue.push(arguments)},t._fbq||(t._fbq=o),o.push=o,o.loaded=!0,o.version="2.0",o.queue=[],(a=e.createElement(n)).async=!0,a.src="https://connect.facebook.net/en_US/fbevents.js",(r=e.getElementsByTagName(n)[0]).parentNode.insertBefore(a,r))}(window,document,"script"),fbq("init",t),e||fbq("track","PageView")}insertMetaPixel(t,e){if(fbq)return;const n=document.createElement("img");n.src="https://www.facebook.com/tr?id="+t+"&ev="+e+"&noscript=1",n.height="1",n.width="1",n.style="display:none",document.body.appendChild(n)}},Jo=t=>{let e,n,{options:i}=t;(0,vo.vJ)((()=>{o()}),[]);const o=()=>{try{a(),e=r(),n=s(),l(),c(),d()}catch(t){return console.log(t.message),null}},a=()=>{if(!i.meta_event)throw Error("Leadster script block: Meta Ads is disabled")},r=()=>{if(i.meta_pixel&&null!==i.meta_pixel_code)return i.meta_pixel_code;const t=neurolead.metadata.fbqConversionEvents;return null!==t&&null!==t[1]?t[1]:null},s=()=>{if(void 0===window.fbq)return[];const t=window.fbq.getState().pixels.map((t=>t.id));return t.length>0?t:[]},l=()=>{if(null===e&&0===n.length)throw Error("Leadster script block: Pixel code not found")},c=()=>{n.includes(e)||Ho.installMetaPixel(e,!0)},d=()=>{const t=null!==e?e:n.length>0?n:void 0,o=i.meta_event_options.map((t=>t.value));if(Array.isArray(t))return h(t,o);u(t,o)},u=(t,e)=>{e.forEach((e=>{window.fbq("trackSingle",t,e)}))},h=(t,e)=>{e.forEach((t=>{window.fbq("track",t)}))};return(0,x.Y)(x.FK,{})},Go=t=>{let e,n,{options:i}=t;(0,vo.vJ)((()=>{o()}),[]);const o=()=>{try{a(),e=r(),n=s(),l(),c(),d()}catch(t){return console.log(t.message),null}},a=()=>{if(!i.google_event)throw Error("Leadster script block: Google Analytics is disabled")},r=()=>{if(i.google_tag&&null!==i.google_tag_code)return i.google_tag_code;const t=neurolead.metadata.gaConversionEvent;return null!==t&&null!==t[2]?t[2]:null},s=()=>{const t=window.dataLayer.map((t=>{if("config"===t[0]&&void 0!==t[1])return t[1]}));return t.length>0?t:[]},l=()=>{if(null===e&&0===n.length)throw Error("Leadster script block: GA code not found")},c=()=>{n.includes(e)||Ho.installGa4(e)},d=()=>{const t=null!==blockPixelCode?e:n.length>0?n:void 0;i.google_event_options.map((t=>t.value)).forEach((e=>{window.gtag("event",e,{send_to:Array.isArray(t)?t:[t]})}))};return(0,x.Y)(x.FK,{})};class Qo extends _.uA{constructor(t){super(t),this.options=t.options}render(){return(0,x.FD)(x.FK,{children:[(0,x.Y)(Jo,{options:this.options}),(0,x.Y)(Go,{options:this.options})]})}}class Zo extends wn{isReady(){return!!this.textInput||!!this.selectInput||!!this.props.conversation.activeSelector}autoInput(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=this.textInput,i=(n.value+t).substring(0,n.value.length+t.length-e);if(this.getMask()){const t=this.mask(this.unMask(i),n.value,e>0),o=this.getSelection(n);n.value=t,this.setSelection(n,this.adjustSelection(i,o,t))}else n.value=i}autoSelect(t){const e=this.props.conversation.activeSelector;if(this.selectInput){const e=this.props.options[t];this.selectInput.value=e}else e&&e.autoSelect(t)}autoSubmit(){this.onSubmit()}}class Ko extends _.uA{constructor(t){super(),this.colors=t.colors,this.flow=new oo(this,t.ingestionSources,t.callOnModulesLoad),this.state={blocks:[]},this.wasLastMessageVisible=!0,this.blockDefaults={left:{avatar:!0,timestamp:!1},right:{avatar:!1,timestamp:!1}}}componentDidMount(){this.blockDefaults.left.avatar=this.props.avatar,this.flow.onStart(this.props.script,(()=>{this.setState(this.state)})),this.props.flowInit&&this.props.flowInit(this.flow.getIngestedData())}onUserSubmit(){this.activeSelector&&this.activeSelector.onSubmit()}onUserInput(t,e,n){e=e||t,this.addMessage("right",n?"***":t),this.flow.onUserInput(e,(t=>{this.props.flowStep&&this.props.flowStep(t,(()=>{}),(()=>{})),this.setState(this.state)}))}addMessage(t,e,n){let i=this.lastBlock();if("right"===t&&"string"==typeof e&&(e=Y(e)),i&&i.side===t&&i.kind===ao)i.messages.push({content:e});else{const i=this.blockDefaults[t];this.addBlock(t,i.avatar,i.timestamp,e,n)}this.setState(this.state)}addBlock(t,e,n,i,o){const a=this.blockDefaults[t],r={proceed:o,typing:"left"===t,side:t,avatar:e=e||a.avatar,timestamp:n=n||a.timestamp,messages:[{content:i}],kind:ao};this.state.blocks.push(r),this.setState({blocks:this.state.blocks})}addCustomBlock(t,e){const n={proceed:arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},typing:"left"===t,side:t,avatar:this.blockDefaults[t].avatar,kind:e};this.state.blocks.push(n),this.setState({blocks:this.state.blocks})}addScheduler(t,e,n){this.props.growUpConversation();const i={proceed:n,typing:"left"===t,side:t,avatar:this.blockDefaults[t].avatar,options:e,kind:fo,messages:ao};this.state.blocks.push(i),this.setState({blocks:this.state.blocks})}async addIaInteraction(t,e,n){const i={proceed:n,typing:"left"===t,side:t,avatar:this.blockDefaults[t].avatar,options:e,kind:qo,messages:ao};await this.props.newLead({},0,(()=>{})),this.props.growUpConversation(),this.state.blocks.push(i),this.setState({blocks:this.state.blocks})}addSelector(t,e,n,i){const o={typing:"left"===t,side:t,avatar:this.blockDefaults[t].avatar,options:n||[],kind:e,messages:i?i.map((t=>({content:t.say}))):{}};this.state.blocks.push(o),this.setState({blocks:this.state.blocks})}addRedirectBlock(t,e,n,i){const o={proceed:n,messages:t,options:{redirectLink:e,keepLink:arguments.length>4&&void 0!==arguments[4]&&arguments[4],blockConfiguration:i},kind:lo};this.state.blocks.push(o),this.setState({blocks:this.state.blocks})}addAdsEventsBlock(t){const e={options:t,kind:Qo};this.state.blocks.push(e),this.setState({blocks:this.state.blocks})}lastBlock(){return this.state.blocks.length>0?this.state.blocks[this.state.blocks.length-1]:null}scrollToBottom(){this.messagesContainer.scrollTop=this.messagesContainer.scrollHeight-this.messagesContainer.offsetHeight,this.wasLastMessageVisible=!0}scrollDown(t){this.messagesContainer.scrollTop+=t}lastMessageHeight(){return this.lastMessage?this.lastMessage.offsetHeight:0}isLastMessageVisible(){const t=this.messagesContainer;return t.scrollHeight-t.scrollTop-t.offsetHeight<=this.lastMessageHeight()}scrollIfNeeded(){this.wasLastMessageVisible,this.scrollToBottom()}onResize(){this.scrollIfNeeded()}onScroll(){this.wasLastMessageVisible=this.isLastMessageVisible(),this.handleScrollHeight()}handleScrollHeight(){if(this.scrollHandle){const t=this.messagesContainer.scrollTop,e=this.messagesContainer.offsetHeight,n=this.messagesContainer.scrollHeight;if(n(0,_.h)(e.kind,{messages:e.messages,side:e.side,avatar:e.avatar,timestamp:e.timestamp,kind:e.kind,options:e.options,typing:e.typing,proceed:e.proceed,conversation:this,privacyPolicyUrl:t.privacyPolicyUrl})))}onHandleMouseDown(t){document.body.style.cursor="move",this.handleGrabPosition=t.clientY,this.grabScrollTop=this.messagesContainer.scrollTop,t.preventDefault()}onMouseUp(t){this.handleGrabPosition&&(document.body.style.cursor="default",this.handleGrabPosition=null)}onMouseMove(t){if(this.handleGrabPosition){const e=t.clientY-this.handleGrabPosition,n=this.messagesContainer.offsetHeight,i=this.messagesContainer.scrollHeight;this.messagesContainer.scrollTop=this.grabScrollTop+e*i/n,t.preventDefault()}}newDateWithCompanyTimeZone(){const t=this.props.metadata.companyTimeZone;return new Date((new Date).toLocaleString("en-US",{timeZone:t}))}render(t,e){const n=this.flow.getInputState(),i=this.flow.getInputType(),o=this.flow.getInputValidate(),a=this.flow.getInputOptions(),r=this.flow.getInputConfig();let s=t.mobile?"overflow-y: auto;":"overflow-y: scroll;";return y()&&!t.mobile&&(s+="height: calc(100% - 10px) !important;"),(0,x.FD)("div",{children:[(0,x.FD)("div",{class:"nld-container"+(n===xn.Disabled?" nld-full":" "),children:[(0,x.FD)("div",{class:"nld-scrollable",onscroll:this.onScroll.bind(this),ref:t=>this.messagesContainer=t,style:s,children:[(0,x.Y)("div",{class:"nld-whitespace"}),this.renderMessages(t,e)]}),!t.mobile&&(0,x.Y)("div",{class:"nld-scrollbar",ref:t=>this.scrollBar=t,children:(0,x.Y)("div",{class:"nld-handle",ref:t=>this.scrollHandle=t,onmousedown:this.onHandleMouseDown.bind(this)})})]}),(0,x.Y)("div",{class:"nld-overlay"}),(0,x.Y)(Zo,{conversation:this,callOnModulesLoad:t.callOnModulesLoad,type:i,validate:o,options:a,config:r,viewState:n,sendText:v.e[neuroleadLanguage]["send-text"],ref:t=>this.input=t})]})}}class Xo{constructor(){return Xo.instance||(this._intervalRef=null,this._originalTitle=document.title,Xo.instance=this,document.addEventListener("visibilitychange",(()=>this._handleVisibilityChange()),!1)),Xo.instance}blink(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.e[neuroleadLanguage].new_message,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:650,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;if(!document.hidden)return;if(this._intervalRef)return;const i=this;this._intervalRef=setInterval((()=>this._changeTitle(t)),e),setTimeout((()=>i._stopBlink()),n)}_stopBlink(){clearInterval(this._intervalRef),this._intervalRef=null,document.title=this._originalTitle}_changeTitle(t){document.title=document.title===this._originalTitle?t:this._originalTitle}_handleVisibilityChange(){document.hidden||this._stopBlink()}}const $o=new Xo;class ta{constructor(t,e,n,i,o,a,r,s){this.scriptVersionId=t,this.elTooltip=i.querySelector(".nld-invite-message-container"),this.elText=i.querySelector(".nld-invite-message-text"),this.elRightIcon=i.querySelector(".nld-sp-icon.nld-right"),this.elLeftIcon=i.querySelector(".nld-sp-icon.nld-left"),this.elTyping=i.querySelector(".nld-typing-indicator"),this.elTime=i.querySelector(".nld-footer.nld-time"),this.tooltipMessage=n,this.enabled=e,this.amount=r,this.amountLeft=r,this.processedNotifications=0,this.displayTime=a,this.typingTime=2e3,this.chatSide=o,this.platform=s?"mobile":"desktop",this.smartCall=new kn,e&&t&&r>0&&this.startTimer()}startTimer(t){this.timer=setTimeout((()=>{t&&t(),this.showNextNotification()}),this.displayTime)}stopTimer(){this.timer&&clearTimeout(this.timer)}stop(){this.stopTimer()}fetchNotification(t,e){const n=this.getList("Leads").join(","),i=this.getList("Notifications").join(","),o=this.smartCall.getLastNotificationViewed(),a=`viewed_notifications=${i}&viewed_leads=${n}&platform=${this.platform}&last_notification=${o}`,r=`${hn}/script_versions/${this.scriptVersionId}/notifications/random/?${a}`;let s=new XMLHttpRequest;s.open("GET",r,!0),s.send(),s.onreadystatechange=()=>{4==s.readyState&&(200==s.status?t(JSON.parse(s.responseText)):e())}}showNextNotification(){this.processedNotifications<=this.amount?this.showTypingAndThen((t=>{this.fetchNotification((e=>{this.hideTyping(),e?(this.displayNotification(e),this.amountLeft--,t((()=>this.hideNotification()))):this.exhaustedNotifications()}),(()=>this.exhaustedNotifications()))})):this.showTypingAndThen((t=>{this.hideTyping(),this.displayTooltip(),t((()=>this.hideTooltip()))})),this.processedNotifications++}exhaustedNotifications(){this.hideTyping(),this.hideNotification(),this.displayTooltip()}showTypingAndThen(t){this.hideNotification(),this.displayTyping(),setTimeout((()=>{t((t=>{this.fetchNext(t)}))}),this.typingTime)}fetchNext(t){this.amountLeft?this.startTimer(t):setTimeout((()=>{this.showTypingAndThen((()=>{this.hideTyping(),t(),this.displayTooltip()}))}),this.displayTime)}displayTooltip(){this.elText.innerHTML=this.tooltipMessage,this.showEl(this.elText),this.smartCall.addLastNotificationViewedText(null)}displayNotification(t){if(this.isShowingNotification=!0,this.currentNotification=t.id,this.smartCall.addLastNotificationViewedText(t.text),this.smartCall.addLastNotificationViewed(this.currentNotification),t.lead?this.addToList(t.lead,"Leads"):this.addToList(t.id,"Notifications"),this.elText.innerHTML=t.text,this.showEl(this.elText),t.lead){const e=Math.floor(4*Math.random()+1),n="m"===t.gender?"male":"female",i=`url(${pn}/img/avatar_${n}_v${e}.png)`;"left"===this.chatSide?(this.elRightIcon.querySelector(".nld-img").style.backgroundImage=i,this.showEl(this.elRightIcon)):(this.elLeftIcon.querySelector(".nld-img").style.backgroundImage=avatar,this.showEl(this.elLeftIcon)),this.elTime.innerHTML=Math.floor(58*Math.random()+1)+"min",this.elTooltip.classList.add("nld-notification")}}displayTyping(){this.showEl(this.elTyping)}hideTyping(){this.hideEl(this.elTyping)}hideTooltip(){this.hideEl(this.elText)}hideNotification(){this.isShowingNotification=!1,this.hideEl(this.elText),this.hideEl(this.elRightIcon),this.hideEl(this.elLeftIcon),this.elTooltip.classList.remove("nld-notification")}showEl(t){t.classList.add("nld-shown"),t.classList.remove("nld-nodisplay"),t.classList.remove("nld-hidden")}hideEl(t){t.classList.add("nld-nodisplay"),t.classList.remove("nld-shown"),t.classList.add("nld-hidden")}addToList(t,e){const n=`notificationsViewed${e}`;if(localStorage&&localStorage.setItem){const i=this.getList(e);i.push(t),localStorage.setItem(n,JSON.stringify(i))}}getList(t){const e=`notificationsViewed${t}`;if(localStorage&&localStorage.getItem){return JSON.parse(localStorage.getItem(e))||[]}return[]}}class ea{constructor(t){this.elPopupContainer=t.querySelector(".nld-popup-container"),this.elPopup=t.querySelector(".nld-popup"),this.messageQueue=[],this.displayTimeout=null}show(t){this.messageQueue.push(t),this.displayTimeout||(this.displayTimeout=setTimeout((()=>{this.displayNext()}),0))}displayNext(){const t=this.messageQueue.shift();t?this.displayMessage(t):(this.displayTimeout=null,this.hideMessage())}displayMessage(t){this.elPopup.innerHTML=t,this.elPopupContainer.classList.remove("nld-nodisplay"),this.elPopupContainer.classList.remove("nld-hidden-slide"),this.elPopupContainer.classList.add("nld-shown-slide"),this.displayTimeout=setTimeout((()=>{this.hideMessageAndDisplayNext()}),2e3)}hideMessageAndDisplayNext(){this.hideMessage(),this.displayTimeout=setTimeout((()=>{this.displayNext()}),500)}hideMessage(){this.elPopupContainer.classList.remove("nld-shown-slide"),this.elPopupContainer.classList.add("nld-hidden-slide")}}class na{constructor(t,e,n){this.triggerSettings=t,this.triggerType=e,this.isMobile=n}isUnderCooldown(){if(!this.triggerSettings.cooldownPeriod)return!1;const t=this.getCookieKey();return!!Wo(t)}setCooldownIfNeeded(){if(!this.triggerSettings.cooldownPeriod)return;const t=this.getCookieKey();jo(t,!0,{minutes:this.triggerSettings.cooldownPeriod})}getCookieKey(){const t=window.neurolead?.convoScript?.scriptId||0,e=this.isMobile?"mobile":"desktop";return`cooldown_${this.triggerType}_${e}_${t}`}}class ia{static TYPE=null;constructor(t,e,n){if(this.config=t,this.isMobile=e,this.enabled=!0,this.shouldPersist=!1,this.openCallback=n,this.cooldownPeriodControl=new na(this.config,this.constructor.TYPE,e),null===this.constructor.TYPE)throw new Error("Static TYPE property must be defined by all subclasses of BaseTrigger");this.openChat=this.openChat.bind(this)}initialize(){throw new Error("Method is of abstract type and must be implemented")}clean(){throw new Error("Method is of abstract type and must be implemented")}openChat(){this.cooldownPeriodControl.isUnderCooldown()||(this.openCallback(this.config.openMode,this.constructor.TYPE),this.cooldownPeriodControl.setCooldownIfNeeded())}tearDown(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return!(this.shouldPersist&&!t)&&(this.clean(),!0)}enable(){this.enabled=!0}disable(){this.enabled=!1}}const oa=[class extends ia{static TYPE="screen_time";constructor(t,e,n){super(t,e,n),this.timeoutId=null}initialize(){const t=this.config.value;this.timeoutId=setTimeout(this.openChat,1e3*t)}clean(){clearTimeout(this.timeoutId),this.timeoutId=null}},class extends ia{static TYPE="inactivity_time";constructor(t,e,n){super(t,e,n),this.timeoutId=null,this.resetInactivityTimer=this.resetInactivityTimer.bind(this)}initialize(){document.addEventListener("mousemove",this.resetInactivityTimer),document.addEventListener("keypress",this.resetInactivityTimer),document.addEventListener("click",this.resetInactivityTimer),document.addEventListener("scroll",this.resetInactivityTimer),this.resetInactivityTimer()}clean(){clearTimeout(this.timeoutId),this.timeoutId=null,document.removeEventListener("mousemove",this.resetInactivityTimer),document.removeEventListener("keypress",this.resetInactivityTimer),document.removeEventListener("click",this.resetInactivityTimer),document.removeEventListener("scroll",this.resetInactivityTimer)}resetInactivityTimer(){this.timeoutId&&clearTimeout(this.timeoutId);const t=this.config.value;this.timeoutId=setTimeout(this.openChat,1e3*t)}},class extends ia{static TYPE="page_scroll";constructor(t,e,n){super(t,e,n),this.onScroll=this.onScroll.bind(this)}initialize(){window.addEventListener("scroll",this.onScroll)}clean(){window.removeEventListener("scroll",this.onScroll)}onScroll(){if(!this.enabled)return;(window.scrollY+window.innerHeight)/document.documentElement.scrollHeight*100>=this.config.value&&(this.openChat(),this.disable())}},class extends ia{static TYPE="page_click";constructor(t,e,n){super(t,e,n),this.clickCount=0,this.onClick=this.onClick.bind(this)}initialize(){document.addEventListener("click",this.onClick)}clean(){document.removeEventListener("click",this.onClick)}onClick(){if(!this.enabled)return;this.clickCount++;const t=this.config.value;this.clickCount>=t&&(this.openChat(),this.disable())}},class extends ia{static TYPE="cursor_outside";constructor(t,e,n){super(t,e,n),this.timeoutId=null,this.onMouseLeave=this.onMouseLeave.bind(this)}initialize(){document.addEventListener("mouseleave",this.onMouseLeave)}clean(){clearTimeout(this.timeoutId),this.timeoutId=null,document.removeEventListener("mouseleave",this.onMouseLeave)}onMouseLeave(t){this.enabled&&t.clientY<=0&&(this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout((()=>{this.openChat(),this.disable()}),200))}},class extends ia{static TYPE="clicked_at";constructor(t,e,n){super(t,e,n),this.shouldPersist=!0}initialize(){const t=this.config.value,e=document.getElementsByClassName(t);for(const t of e)t.addEventListener("click",this.openChat)}clean(){const t=this.config.value,e=document.getElementsByClassName(t);for(const t of e)t.removeEventListener("click",this.openChat)}},class extends ia{static TYPE="page_access";constructor(t,e,n){super(t,e,n),this.pageAccessCount=0}initialize(){const t=window.neurolead?.convoScript?.scriptId;if(!t)return;const e=this.config.value,n=`leadster_trigger_page_access_${t}`;this.pageAccessCount=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{hours:24,days:0,minutes:0};if("undefined"==typeof document)return;const n=Wo(t,0),i=parseInt(n)+1;return jo(t,i,e),i}(n,7),this.pageAccessCount>=e&&(jo(n,0),this.openChat(),this.disable())}clean(){}}];class aa{constructor(){this.triggers=new Map}initialize(t,e){this.clearTriggers(!0),oa.forEach((n=>{const i=n.TYPE,o=this._getTriggerSettingsForDevice(t[i]);if(!o)return;const a=new n(o,(0,_n.F)(),e);a.initialize(),this.triggers.set(i,a)}))}clearTriggers(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];for(const[e,n]of this.triggers.entries())n.tearDown(t)&&this.triggers.delete(e)}_getTriggerSettingsForDevice(t){if(!t?.enabled)return null;const e=(0,_n.F)()?t.mobile:t.desktop;return e?.enabled?e:null}}const ra="nld-hidden-slide",sa="nld-shown-slide",la="nld-hidden",ca="nld-shown",da="nld-shown-middle",ua="nld-nodisplay",ha="nld-left",pa="nld-center",ma="nld-fullscreen",fa="nld-pop-up",ba=3e4;class _a{constructor(t,e){this.disableServerCommunication=e<0,this.showEventRegistered=!1,this.moduleCount=0,this.loadedModuleCount=0,this.moduleCallsQueue=[],this.dynamicStylesheet=null,this.backendSyncSent=0,this.backendSyncSynced=0,this.completeWhenSynced=!1,this.completedWhenSynced=!1,this.guid=this.guidGenerator(),this.corsToken=null,this.conversation=null,this.metadata={},this.elAvatar=t.querySelector(".nld-avatar"),this.elTopBarAvatar=t.querySelector(".nld-infobar .nld-avatar"),this.elConversation=t.querySelector(".nld-conversation"),this.elContext=t.querySelector("#context"),this.elTitle=t.querySelector(".nld-title"),this.elSubtitle=t.querySelector(".nld-subtitle"),this.elBackdrop=t.querySelector(".nld-backdrop"),this.elInviteContainer=t.querySelector(".nld-chatbot-invite-container"),this.elInvite=t.querySelector(".nld-chatbot-invite-message"),this.elInviteMessageContainer=t.querySelector(".nld-invite-message-container"),this.elClose=t.querySelector(".nld-conversation-header .nld-close"),this.elTypingIndicator=t.querySelector(".nld-typing-indicator"),this.elCloseInvite=t.querySelector(".nld-chatbot-invite-message .nld-close"),this.elInviteText=t.querySelector(".nld-invite-message-text"),this.elBranding=t.querySelector(".nld-brand-footer"),this.elChatbot=t,this.notificationsManager=null,this.isOpen=!1,this.dataQueue=[],this.dataQueueStartPtr=0,this.popupManager=new ea(this.elChatbot),this.smartCall=new kn,this.smartCall.addLastNotificationViewedText(null),this.chatOpenTriggersManager=new aa,this.addEventListeners(),this.setupGoogleAnalytics(),this.sendAnalyticsEvent("load",(()=>{}),!0),this.sendAnalyticsEvent((0,_n.F)()?"is_mobile":"is_desktop",(()=>{}),!0),this.loadConversationScript(),this.onResize(),Oi.on("storeAnalyticBlockInfo",(t=>this.handleStoreAnalyticBlockEvent(t))),this.filterData=this.filterData.bind(this)}clientVersion(){return"2.67.0"}setupGoogleAnalytics(){window.disableLeadsterGa4||Ho.installLeadsterGa4()}setupClientGa4(){const{gaConversionEvent:t}=this.metadata||{};Array.isArray(t)&&t[2]&&Ho.installGa4(t[2])}setupMetaPixel(){if(this.metadata.fbqConversionEvents){const t=this.metadata.fbqConversionEvents[1];Ho.installMetaPixel(t),Ho.insertMetaPixel(t,"PageView")}}loadConversationScript(){if(window.neuroleadDefaultScript)return this.createFromJSON(window.neuroleadDefaultScript);let t={};if(localStorage&&localStorage.getItem){const e=localStorage.getItem("neuroleadsPreferredVersions");t=e?JSON.parse(e):{}}const e=function(t,e,n,i,o,a){let r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;const l=new URL(`${hn}/scripts/search`);return l.searchParams.append("company",t),l.searchParams.append("user",a),l.searchParams.append("time",new Date/1e3|0),l.searchParams.append("path",encodeURIComponent(e)),l.searchParams.append("host",encodeURIComponent(n)),l.searchParams.append("query",encodeURIComponent(i)),l.searchParams.append("platform",encodeURIComponent(o)),s&&l.searchParams.append("script_id",s),Object.keys(r).map((t=>{l.searchParams.append(`preferredVersions[${encodeURIComponent(t)}]`,encodeURIComponent(r[t]))})),l.href}(window.neuroleadId,window.location.pathname,window.location.hostname||"localhost",window.location.search,(0,_n.F)()?"mobile":"desktop",this.userId,t,window.neuroleadPSId);this.loadConversation(e)}parseQueryString(t){if(!t||"string"!=typeof t)return{};const e=t.match(/^(?:https?:\/\/)?(?:[^?]+)?\?(.+)$/);if(e?t=e[1]:t.startsWith("?")&&(t=t.substring(1)),!t)return{};let n=t.split("&"),i={};for(let t of n){if(!t)continue;let e=t.split("=");if(e.length>=2){let t=decodeURIComponent(e[0]),n=e.slice(1).join("=");i[t]=this.sanitizeValue(decodeURIComponent(n))}}return i}sanitizeValue(t){return"string"!=typeof t?t:t.replace(/[\u0000-\u001F\u007F-\u009F<>\\'"]/g,"").trim()}guidGenerator(){const t="neuroleadUser";this.userId=null,localStorage&&localStorage.getItem&&(this.userId=localStorage.getItem(t));let e=()=>(65536*(1+Math.random())|0).toString(16).substring(1),n=e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e();return this.userId?(this.sessionId=n.substring(30,36),this.userId+this.sessionId):(this.userId=n.substring(0,30),this.sessionId=n.substring(30,36),localStorage&&localStorage.getItem&&localStorage.setItem(t,this.userId),n)}addEventListeners(){this.elCloseInvite.onclick=function(t){this.hideTooltip(t),"E-commerce"===this.metadata.companySegment&&jo("leadster_hide_tooltip",!0,{days:0,hours:1})}.bind(this),this.elClose.onclick=this.close.bind(this),this.elAvatar.onclick=this.toggle.bind(this),window.onresize=this.onResize.bind(this),document.onmouseup=this.onMouseUp.bind(this),window.onmousemove=this.onMouseMove.bind(this),document.addEventListener("focusin",this.onFocusInput.bind(this)),document.addEventListener("focusout",this.onFocusInput.bind(this))}open(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";switch(this.isOpen=!0,this.chatOpenTriggersManager.clearTriggers(),this.elConversation.classList.remove(ra),this.elConversation.classList.remove(ua),this.elConversation.classList.add(sa),this.hideTooltip(),this.hideAvatar(),this.removeFullscreenClass(),this.removePopUpClass(),this.showBrand(),this.registerShowEvent(),t){case"default":break;case"defaultFocused":this.showBackdrop();break;case"popUp":this.showBackdrop(),this.addPopUpClass();break;case"fullscreen":this.addFullscreenClass()}this.createConversationalForm()}close(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isOpen=!1,this.smartCall.addLastNotificationViewedText(null),this.elConversation.classList.remove(sa),this.elConversation.classList.add(ra),this.hideBackdrop(),this.showAvatar(),window.nldAPI_Neurologic_OnClose&&nldAPI_Neurologic_OnClose(),t||this.sendAnalyticsEvent("close")}toggle(){if(this.isOpen)return this.close();this.openReason=this.notificationsManager?.isShowingNotification?"notification_clicked":"tooltip_clicked",this.open(),this.sendAnalyticsEvent("user_open")}openAsModalMode(){this.elAvatar.classList.add(ua),this.elClose.classList.add(ua),this.open("fullscreen")}showBrand(){this.metadata.whiteLabel||!(0,_n.F)()&&this.elBranding&&((0,_.XX)((0,x.Y)(A,{isMobile:(0,_n.F)(),isInput:!1,companySegment:this.metadata.companySegment}),this.elBranding),this.elBranding.classList.remove(ua),this.elBranding.querySelector(".nld-brand")?.classList?.remove(ua))}createConversationalForm(){this.conversation||(0,_.XX)((0,x.Y)(Ko,{lang:this.metadata.lang,ref:t=>this.conversation=t,flowStep:this.onFlowStep.bind(this),flowInit:this.onFlowInit.bind(this),newLead:this.sendToBackend.bind(this),avatar:this.metadata.avatar||"https://cdn.leadster.com.br/neurolead/img/avatar.png",script:this.convoScript.script,privacyPolicyUrl:this.convoScript.privacyPolicyUrl,mobile:(0,_n.F)(),callOnModulesLoad:this.callOnModulesLoad,colors:this.metadata.colors,ingestionSources:this.metadata.ingestFrom,metadata:this.metadata,growUpConversation:this.growUpConversation.bind(this),filterData:this.filterData.bind(this)}),this.elContext)}loadConversation(t){Yi.post(t).then((t=>{let e=null;try{if(e=t.data,e&&e.companyId&&(neuroleadId=e.companyId,this.corsToken=t.headers["cors-token"],void 0===this.corsToken&&(this.corsToken=t.request.getResponseHeader("Cors-Token")),Yi.setDefaultHeaders({"Cors-Token":this.corsToken})),e&&e.scriptId&&e.scriptVersionId&&e.isAb&&localStorage&&localStorage.getItem&&localStorage.setItem){let t=localStorage.getItem("neuroleadsPreferredVersions"),n=t?JSON.parse(t):{};n[e.scriptId.toString()]=e.scriptVersionId,localStorage.setItem("neuroleadsPreferredVersions",JSON.stringify(n))}}catch(t){throw t}this.createFromJSON(e)})).catch((t=>{if(t?.status>=500)throw t}))}readJSONProperties(t){this.convoScript=t,this.metadata={},this.metadata.guid=this.guid,this.metadata.companyId=t.companyId,this.metadata.companyTimeZone=t.companyTimeZone,this.metadata.companySegment=t.companySegment,this.metadata.scriptId=t.scriptId,this.metadata.scriptVersionId=t.scriptVersionId,this.metadata.ingestFrom=t.ingestFrom||[],this.metadata.whiteLabel=t.whiteLabel,this.metadata.urlData=t.urlData||{},this.metadata.integrations=t.integrations,this.metadata.isOpenByTriggerOnly=t.isOpenByTriggerOnly||!1,this.metadata.baseURL=hn,this.metadata.useCustomContainer=!!document.getElementById("nld-custom-container"),this.corsToken||(this.corsToken=t.corsToken,Yi.setDefaultHeaders({"Cors-Token":this.corsToken})),this.updateMetadataColors(t),this.metadata.side=(0,_n.F)()&&t.mobileSide||t.side||"right",this.metadata.tooltipMessage=t.tooltipMessage||"Vamos calcular o financiamento aprovado para você?",this.metadata.avatar=this.convoScript.avatar,this.metadata.lang=this.convoScript.lang||"pt-BR",window.neuroleadLanguage=this.metadata.lang,this.metadata.title=t.title||t.companyName||"",this.metadata.subtitle=t.subtitle||v.e[neuroleadLanguage].online_now,this.metadata.autoOpen=this.convoScript.autoOpen,this.metadata.modalMode=this.convoScript.modalMode,this.metadata.requiredFields=this.convoScript.requiredFields||[],this.metadata.notificationsEnabled=this.convoScript.notificationsEnabled,this.metadata.notificationsDisplayTime=this.convoScript.notificationsDisplayTime;const e=this.convoScript.notifications,n=Array.isArray(e)&&e.length>0?e.length:-1;this.metadata.notificationsPerSession=n,this.metadata.gtagConversionId=this.convoScript.gtagConversionId,this.metadata.fbqConversionEvents=this.convoScript.fbqConversionEvents,this.metadata.gaConversionEvent=this.convoScript.gaConversionEvent,this.elTitle.innerHTML=this.metadata.title,this.elSubtitle.innerHTML=this.metadata.subtitle}onModulesLoad(){for(let t of this.moduleCallsQueue)t();this.moduleCallsQueue=[]}callOnModulesLoad(t){this.loadedModuleCount===this.moduleCount?t():this.moduleCallsQueue.push(t)}loadModules(t){const e=t.length;let n=0;const i=()=>{n++,n===e&&this.onModulesLoad(),this.loadedModuleCount=n};for(let e of t){const t=`${pn}/modules/${e}`,n=document.head||document.getElementsByTagName("head")[0];try{let e=document.createElement("script");e.setAttribute("type","text/javascript"),e.setAttribute("src",t),e.onload=i,n.appendChild(e)}catch(t){}}this.moduleCount=e}createFromJSON(t){if(this.validateJSON(t)){if(this.readJSONProperties(t),this.loadModules(t.modules||[]),this.setupMetaPixel(),this.setupClientGa4(),this.injectCustomCSS(),this.addCustomClasses(),this.setTitleAndSubtitle(),this.handleInitialChatbotVisibility(),this.metadata.useCustomContainer)return this.openAsModalMode();if(this.metadata.modalMode)return this.openAsModalMode();if(this.metadata.autoOpen)return this.open();this.initializeOpenTriggerManager(),this.initializeTooltipAndNotifications()}}reload(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.convoScript;this.conversation&&((0,_.XX)("",this.elContext),this.conversation=null),this.createFromJSON(t,!0),this.removeCustomCSS(),this.backendSyncSent=0,this.backendSyncSynced=0,this.completeWhenSynced=!1,this.completedWhenSynced=!1,this.dataQueue=[],this.dataQueueStartPtr=0,this.guid=this.guidGenerator(),this.isOpen&&this.open()}initializeOpenTriggerManager(){this.chatOpenTriggersManager.initialize(this.convoScript.triggerSettings||{},((t,e)=>{this.openReason=`${e}_trigger`,this.open(t),this.sendAnalyticsEvent(`${e}_triggered`)}))}initializeTooltipAndNotifications(){(0,_n.F)()&&!!Wo("leadster_hide_tooltip")?this.hideTooltip():(this.isOpen||this.showTooltip(),setTimeout((()=>{this.elTypingIndicator.classList.add(ua),this.elInviteMessageContainer.classList.remove(ua),(0,_n.F)()&&this.elCloseInvite.classList.remove(ua),this.updateTooltipMessage(),this.notificationsManager?.stop(),this.notificationsManager=null,this.metadata.notificationsEnabled&&(this.notificationsManager=new ta(this.metadata.scriptVersionId,this.metadata.notificationsEnabled,this.metadata.tooltipMessage,this.elChatbot,this.metadata.side,this.metadata.notificationsDisplayTime,this.metadata.notificationsPerSession,(0,_n.F)()))}),1e3))}handleInitialChatbotVisibility(){if(this.elChatbot.classList.remove(ua),this.metadata.isOpenByTriggerOnly)return this.hideAvatar();this.showAvatar(),this.registerShowEvent(),(0,_n.F)()&&setTimeout(this.hideTooltip.bind(this),6e4)}registerShowEvent(){this.showEventRegistered||(this.sendAnalyticsEvent("show"),this.showEventRegistered=!0)}hideAvatar(){this.elAvatar.classList.add(ua),this.elAvatar.classList.add(ra),this.elAvatar.classList.remove(sa)}showAvatar(){this.elAvatar.classList.remove(ua),this.elAvatar.classList.remove(ra),this.elAvatar.classList.add(sa)}showBackdrop(){this.elBackdrop.classList.remove(ua)}hideBackdrop(){this.elBackdrop.classList.add(ua)}addFullscreenClass(){this.elChatbot.classList.add(ma)}removeFullscreenClass(){this.elChatbot.classList.remove(ma)}addPopUpClass(){this.elChatbot.classList.add(fa)}removePopUpClass(){this.elChatbot.classList.remove(fa)}hideTooltip(t){this.elInvite.classList.remove(ca),this.elInvite.classList.add(la),this.elInviteContainer.classList.remove(da),this.elInviteContainer.classList.add(la),t&&t.stopPropagation(),this.notificationsManager&&(this.notificationsManager.stop(),this.notificationsManager=null)}showTooltip(){this.elInvite.classList.remove(ua),this.elInvite.classList.remove(la),this.elInvite.classList.add(ca),this.elInviteContainer.classList.remove(ua),this.elInviteContainer.classList.remove(la),this.elInviteContainer.classList.add(da)}removeCustomCSS(){var t;t=this.dynamicStylesheet,(document.head||document.getElementsByTagName("head")[0]).removeChild(t)}injectCustomCSS(){this.dynamicStylesheet=function(t){const e={type:"text/css"},n=document.head||document.getElementsByTagName("head")[0];let i=document.createElement("style");for(let t of Object.keys(e))i.setAttribute(t,e[t]);return i.innerHTML=t,n.appendChild(i)}(`\n .nld-avatar, .nld-clock .nld-pointer, .nld-clock .nld-clock-num.nld-selected {}\n .nld-infobar > .nld-avatar::after, .nld-clock .nld-pivot, .nld-cal, .nld-sel.nld-time, .nld-chatbot .nld-cell.nld-selected::after {}\n .nld-conversation-header, .nld-row.nld-header, .nld-row.nld-title, .nld-tooltip-error, .nld-timedisplay {}\n .nld-opt {}\n .nld-sel.nld-multi .nld-opt {}\n .nld-group.nld-right .nld-bubble {}\n .nld-group.nld-left .nld-bubble {}\n .nld-handle {}\n .nld-sel > .nld-opt.nld-selected {}\n .nld-submit {}\n .nld-spinner {}\n .nld-sp-icon div {}\n .nld-scheduler-container {}\n .scheduler-action-buttons-container > .scheduler-cancel-button, .scheduler-time-available-container > .scheduler-time-available, .scheduler-time-available.active, .scheduler-confirmation-date-formatting-decoration, .calendar-prev, .calendar-next, .calendar-cell.calendar-this-month, .calendar-cell.calendar-selected, .calendar-cell.calendar-prev-month.calendar-selected, .calendar-cell.calendar-this-month.calendar-selected, .calendar-cell.calendar-next-month.calendar-selected {}\n .scheduler-continue-button, .scheduler-continue-button.active {}\n .scheduler-continue-button.disabled, .scheduler-time-available.active, .calendar-cell.calendar-selected {}\n\n ${this.metadata.useCustomContainer&&"\n div.nld-chatbot { width: 100%; height: 100%; }\n .nld-chatbot > .nld-avatar { position: absolute!important; }\n .nld-chatbot .nld-conversation { position: absolute!important; }\n "}\n `),this.rules=function(t,e){let n={},i={};for(let e of Object.keys(t))n[e.toLowerCase()]=t[e];if(document.styleSheets)for(let t=0;t .nld-avatar::after, .nld-clock .nld-pivot, .nld-cal, .nld-sel.nld-time, .nld-chatbot .nld-cell.nld-selected::after":"plain.headers/border",".nld-conversation-header, .nld-row.nld-header, .nld-row.nld-title, .nld-tooltip-error, .nld-timedisplay":"headers",".nld-opt":"single-options",".nld-sel.nld-multi .nld-opt":"multi-options",".nld-group.nld-right .nld-bubble":"user",".nld-group.nld-left .nld-bubble":"robot",".nld-handle":"scrollbar",".nld-sel > .nld-opt.nld-selected":"selected",".nld-submit":"submit",".nld-spinner":"spinner",".nld-sp-icon div":"sp-icon",".nld-scheduler-container":"outline",".scheduler-action-buttons-container > .scheduler-cancel-button, .scheduler-time-available-container > .scheduler-time-available, .scheduler-time-available.active, .scheduler-confirmation-date-formatting-decoration, .calendar-prev, .calendar-next, .calendar-cell.calendar-this-month, .calendar-cell.calendar-selected, .calendar-cell.calendar-prev-month.calendar-selected, .calendar-cell.calendar-this-month.calendar-selected, .calendar-cell.calendar-next-month.calendar-selected":"color",".scheduler-continue-button, .scheduler-continue-button.active":"background",".scheduler-continue-button.disabled, .scheduler-time-available.active, .calendar-cell.calendar-selected":"opacity"}),this.updateCSSColors()}updateMetadataColors(t){t.robotMainColor=t.robotMainColor||"#eee",t.userMainColor=t.userMainColor||"black";const e=function(t,e){const n=En(t),i=En(e);return Dn(n.slice(0,3))>Dn(i.slice(0,3))?t:e}(t.robotMainColor,t.userMainColor);this.metadata.colors=Object.assign({title:"white",subtitle:"white",scrollbar:e,submit:e,headers:e,options:e,selected:e,userMessage:e,userMessageText:Pn(e,"white","black"),robotMessage:"#eee",robotMessageText:"black"},t.colors||{})}updateCSSColors(){const t=this.metadata.colors,e={headers:this.toPlain(t.headers),selected:this.toPlain(t.selected),submit:this.toPlain(t.submit)},n=this.toPlainOrGradient(t.selected),i=this.toPlainOrGradient(t.scrollbar),o=this.toPlainOrGradient(t.headers),a=this.toPlainOrGradient(t.options),r=this.toPlainOrGradient(t.userMessage),s=this.toPlain(t.userMessageText),l=this.toPlainOrGradient(t.robotMessage),c=this.toPlain(t.robotMessageText);this.toPlainOrGradient(t.submit);this.rules["plain.headers/bg"].style.cssText=`background-color:${e.headers} !important`,this.rules["plain.headers/border"].style.cssText=`border-color:${e.headers} !important`,this.rules.headers.style.cssText=`background:${o} !important`,this.rules["single-options"].style.cssText=`background:${a} !important`,this.rules["multi-options"].style.cssText=`border-color:${a} !important;background:transparent !important`,this.rules.user.style.cssText=`background:${r} !important; color:${s} !important`,this.rules.robot.style.cssText=`background:${l} !important; color:${c} !important`,this.rules.scrollbar.style.cssText=`background:${i} !important`,this.rules.selected.style.cssText=`background:${n} !important; color:${s} !important`,this.rules.submit.style.cssText=`background-color:${e.submit} !important; color:${e.submit} !important`,this.rules.spinner.style.cssText=`border-color:${e.submit} !important`,this.rules["sp-icon"].style.cssText=`background-color:${e.submit} !important`,this.rules.outline.style.cssText=`outline:2px solid ${e.selected} !important`,this.rules.color.style.cssText=`color:${e.selected} !important`,this.rules.background.style.cssText=`background:${e.selected} !important`,this.rules.opacity.style.cssText=`background:${e.selected}4C !important`}update(t,e){switch(t){case"color":this.isOpen||this.open(),this.updateMetadataColors({robotMainColor:e,userMainColor:e}),this.updateCSSColors();break;case"tooltipMessage":this.isOpen&&this.close(),this.showTooltip(),this.metadata.tooltipMessage=e,this.updateTooltipMessage();break;case"title":this.isOpen||this.open(),this.metadata.title=e||"",this.setTitleAndSubtitle()}}toGradient(t){return 2===t.length?`linear-gradient(to right, ${t[0]}, ${t[1]})`:"linear-gradient(to right, #000, #000)"}toPlainOrGradient(t){return Array.isArray(t)?this.toGradient(t):t}toPlain(t){return Array.isArray(t)?2===t.length?t[1]:"#000":t}addCustomClasses(){if("left"==this.metadata.side?this.elChatbot.classList.add(ha):"center"==this.metadata.side&&this.elChatbot.classList.add(pa),this.metadata.avatar){const t='url("'+this.metadata.avatar+'")';this.elAvatar.style.backgroundImage=t,this.elTopBarAvatar.style.backgroundImage=t;const e=this.convoScript.hasOwnProperty("marginBottom")?this.convoScript.marginBottom:0;this.elAvatar.style.marginBottom=`${e}px`}}setTitleAndSubtitle(){this.elTitle.innerHTML=this.metadata.title,this.elSubtitle.innerHTML=this.metadata.subtitle}updateTooltipMessage(){this.elInviteText.innerHTML=this.metadata.tooltipMessage,$o.blink()}findTrackerById(t){if(t)for(const e of ga.getAll())if(e.get("trackingId")===t)return e;return null}sendSyncEvents(){window.dataLayer=window.dataLayer||[],window.gtag?(gtag("event","new_lead"),gtag("event","Leadster",{event_category:"new_lead"}),gtag("event",this.metadata.gaConversionEvent[1],{event_category:this.metadata.gaConversionEvent[0]}),this.metadata.gtagConversionId&>ag("event","conversion",{send_to:this.metadata.gtagConversionId,event_callback:()=>{}})):window.__gaTracker?__gaTracker("send","event",this.metadata.gaConversionEvent[0],this.metadata.gaConversionEvent[1]):window.dataLayer.push({event:"new_lead"}),this.metadata.fbqConversionEvents&&("undefined"==typeof fbq&&Ho.insertMetaPixel(this.metadata.fbqConversionEvents[1],this.metadata.fbqConversionEvents[0]),fbq("track",this.metadata.fbqConversionEvents[0]),window.dataLayer.push({event:this.metadata.fbqConversionEvents[0]}))}onSubmit(){if(this.sendAnalyticsEvent("finish",(()=>{}),!0),this.backendSyncSent>0)if(this.backendSyncSent===this.backendSyncSynced){const t=e=>{this.syncCompletedWithBackend((()=>{}),(()=>{setTimeout((()=>{t(2*e)}),e)}))};t(1e3)}else this.completeWhenSynced=!0}showResetChatBtn(){neurolead.convoScript.chatRestartAtEnd&&this.conversation.addMessage("right",(0,x.Y)(Yo,{}),(()=>{}))}onFlowInit(t){for(let{name:e,value:n}of t)this.addValuesToQueue(e,n,0)}sendClientAnalyticsEvent(t,e,n){let i=`Etapa - ${n} - ${t.split("::").slice(-1)[0]}`;this.metadata.gaConversionEvent&&this.metadata.gaConversionEvent.length>=2&&(window.__gaTracker&&__gaTracker("send","event","Neurologic",i),window.gtag&>ag("event",i,{event_category:"Neurologic"}))}onFlowStep(t,e,n){let{name:i,value:o,done:a}=t;const r=this.conversation.flow.step-1;o=Y(o),this.growUpConversation(),this.sendAnalyticsEvent(`step_${r}`);try{this.sendClientAnalyticsEvent(i,o,r)}catch(n){console.error("ga",n)}this.addValuesToQueue(i,o,r),this.checkUserData(i,o)[0]&&this.syncDataWithBackend((()=>{})),e(),a&&(this.onSubmit(this.conversation),this.showResetChatBtn())}growUpConversation(){this.elConversation.classList.add("nld-full")}addValuesToQueue(t,e,n){this.dataQueue.push({key:t,value:e,step:n})}popFromQueue(){let t={};const e=this.dataQueue.length;for(;this.dataQueueStartPtrt[e]))}emptyData(t){if(""===t)return!0;if(Array.isArray(t)){for(let e of t)if(""!==e)return!1;return!0}return!1}checkUserData(t,e){if(t.startsWith("nosync::"))return[!1,null];if(this.emptyData(e))return[!1,null];if(t.startsWith("always::")){let e=t.split("::");return[!0,e.slice(2,e.length).join("::")]}return[!0,t]}filterData(t){let e={};return Object.keys(t).forEach((n=>{let[i,o]=this.checkUserData(n,t[n]);i&&(e[o]=t[n])})),e}getAllFieldNames(t){let e=[];return t.forEach((t=>{"name"in t&&e.push(t.name),"children"in t&&(e=e.concat(this.getAllFieldNames(t.children)))})),e}getAlwaysFields(){const t=window.location.href||document.URL;let e={"9999::URL":t};for(let n of Object.keys(this.metadata.urlData)){let i=this.metadata.urlData[n],o=new RegExp(i,"g").exec(t);e[n]=o[1]}return this.getAllFieldNames(this.convoScript.script).forEach((t=>{let n=t.split("::");if("always"===n[0]&&n.length>1){let t=n.slice(2,n.length).join("::");e[t]=n[1]}})),e}augmentData(t){let e=this.getAlwaysFields();for(let n in e){let i=e[n];n in t||(t[n]=i)}return t}syncCompletedWithBackend(t,e){if(this.disableServerCommunication)return;const n=`${hn}/lead/${this.guid}/sync`;let i=new XMLHttpRequest;i.open("GET",n,!0),i.timeout=ba,i.send(),i.onreadystatechange=()=>{4==i.readyState&&(2===Math.floor(i.status/100)?t(JSON.parse(i.response)):e())}}syncDataWithBackend(t){let e,n;do{n=!1,e=this.popFromQueue();for(let i of e){let e=this.filterData(i.data);Object.keys(e).length>0&&(this.sendToBackend(e,i.step,t),n=!0)}}while(e.length>0&&!n);if(this.completeWhenSynced&&!this.completedWhenSynced&&this.backendSyncSent==this.backendSyncSynced){this.completedWhenSynced=!0;const t=e=>{this.syncCompletedWithBackend((t=>{!0===t.is_valid&&this.sendSyncEvents()}),(()=>{setTimeout((()=>{t(2*e)}),e)}))};t(1e3)}}sendToBackend(t,e,n){if(this.disableServerCommunication)return;this.backendSyncSent+=1;const i=this.buildMessage(t,e),o=t=>{const e=`${hn}/leads`,a=new XMLHttpRequest;a.open("POST",e,!0),a.setRequestHeader("Content-Type","application/json; charset=UTF-8"),a.setRequestHeader("Cors-Token",this.corsToken),a.timeout=ba,a.send(JSON.stringify(i)),a.onreadystatechange=()=>{if(4==a.readyState){if(401===a.status)return this.close(!0),void this.hideAvatar();2===Math.floor(a.status/100)?(this.backendSyncSynced+=1,setTimeout((()=>this.syncDataWithBackend((()=>{}))),0),n()):setTimeout((()=>{o(2*t)}),t)}}};o(1e3)}getUtms(){const t=this.parseQueryString(location.search.substring(1));return{utm_content:t.utm_content||null,utm_medium:t.utm_medium||null,utm_source:t.utm_source||null,utm_campaign:t.utm_campaign||null,utm_term:t.utm_term||null}}buildMessage(t,e){return 1===this.backendSyncSent&&(t=this.augmentData(t)),{id:this.guid,scriptVersion:this.metadata.scriptVersionId,script:this.metadata.scriptId,message:{step:e,data:t,demo:!!window.neuroleadLeadDemoMode,open_reason:this.openReason||"auto_opened",is_mobile:(0,_n.F)(),utms:this.getUtms(),rd_station:{utm_source:this.getRdStationUtmSource(),tracking_id:this.getRdStationTrackingId()},location:window.location.href||document.URL,browser:navigator.userAgent,referrer:document.referrer,integrations:this.metadata.integrations}}}sendAnalyticsEvent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.disableServerCommunication)return;if(window.ga?window.ga("neurolead.send","event",window.neuroleadId.toString(),t):window._gaq&&_gaq.push(["neurolead._trackEvent",window.neuroleadId.toString(),t]),n)return;let i={userId:this.userId,sessionId:this.sessionId,leadId:this.userId+this.sessionId,company:window.neuroleadId,script:this.metadata.scriptId,event:t,clientVersion:this.clientVersion(),scriptVersion:this.metadata.scriptVersionId,time:(new Date).getTime()/1e3|0,devMode:!!window.neuroleadEventDevMode,isMobile:(0,_n.F)(),referrer:document.referrer,location:window.location.href||document.URL};const o=t=>{const n=`${hn}/events`;let a=new XMLHttpRequest;a.open("POST",n,!0),a.setRequestHeader("Content-Type","application/json; charset=UTF-8"),a.setRequestHeader("Cors-Token",this.corsToken),a.timeout=ba,a.send(JSON.stringify(i)),a.onreadystatechange=()=>{if(401===a.status)return this.close(!0),void this.hideAvatar();4==a.readyState&&(200==a.status?e():setTimeout((()=>{o(2*t)}),t))}};o(1e3)}getData(){const t=this.filterData(this.conversation.flow.data);let e={};return Object.keys(t).forEach((n=>{const i=n.split("::"),o=i[i.length-1];e[o.toLowerCase()]=t[n]})),e}onResize(){this.conversation?.onResize()}onFocusInput(t){const e=t.target.tagName,n="focusin"==t.type;["input","textarea"].includes(e.toLowerCase())&&(0,_n.F)()&&(this.isOpen||(n?(this.hideTooltip(),this.hideAvatar()):this.showAvatar()))}onMouseUp(t){this.conversation&&this.conversation.onMouseUp(t)}onMouseMove(t){this.conversation&&this.conversation.onMouseMove(t)}validateJSON(t){return null!=t.script}isRdStation(){const t=this.convoScript?.companyIntegrations;return!!t&&("string"==typeof t&&t.split(",").includes("rdstation"))}getRdStationUtmSource(){return this.isRdStation()?Wo("__trf.src",null,!1):null}getRdStationTrackingId(){return this.isRdStation()?Wo("_rdtrk",null,!1):null}async handleStoreAnalyticBlockEvent(t){if(this.disableServerCommunication)return;if(!(t&&t.name&&t.action&&t.uid))return;const e={analytics_field_block:{user_id:this.userId,session_id:this.sessionId,lead_id:this.guid,company_id:window.neuroleadId,script_id:this.metadata.scriptId,script_version_id:this.metadata.scriptVersionId,location:window.location.href||document.URL,is_mobile:(0,_n.F)(),block_uid:t.uid,label:t.label,block_name:t.name,block_action:t.action,payload:t.payload||null},script:this.metadata.scriptId};Yi.post("/analytics_field_blocks",e)}}function va(){if(window.neurolead)return;const t=Sn(),e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAL33pUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjarVptlqwgDv2fVcwSBOTD5YDIObODWf7cBBS0tD7ee12n2yoLQ5Ibkhto2v7330L/wY9TxtFsfXCLcxN+5mVedMSbMNWfelXTLH/lZ25f4fPpPh1faNwyuJr60W1tfMR92x/w7QGVzvfJr01OaILaF7tAwzNrvGnjQhNkdL2v2mda2nNxHsxpv8VVsaoJv36ePZyRLeQZTXozykz4G3gWAw3MYiKuRv4GzXeCvOf7cOu97+h4e3He8e7iuym2++bsCppcG+AuPmr3lb33nXho1Ej1mU9fbEq5afwZfVdyKGWr1sXZwVOOmlG7KfIOAxNcaeQxh5fHr8V7L68FrwATVyCWgWbCayW1KA1vFzWrrKIqapPrqlaoOOtNe1y1XrWRe8F4vehVQJn5pYr2gCETENFmBWoGt/Whi5J5F5lvVQEzZ4WRWkGYwhMvL7q7+SevQ1Apaw21cPgKemmOaajByPFfjAIgqjSfWvGvvGiIm2kA1gBBK24OMDBOqYpIVvXYMoKzwTg7zdSWs/K5CYCLMLeFMsoAgQk5wiqnJq+1Vwp+DMAnQnNtZp2AgLJWZ0UF2BjjAA5WA+bGM17JWG11vY3UAiCsccYDGiwUgDXPFvHj54AYitbYmay1znob7GKjM2521jnnHeeo6I2fvfXOex/84mMwYQ42uOBDCEuIi14MUphd3OJpCcuyxIhJI0RHPB0xIsakk0lzsskln0JaUlwRPuu82tWtfg3rssass8lY/tllTznkJcdNbQilbd7s5ja/hW3ZYkGsFVPmYosrvoSylHig1lA9o6YuyL1HTTXUGLFZxvmOGm57v4tQnE4sYwbE9KyAuGcEENCaMZuCmmfNyDFm06KxKKwGasoyOFkxYkBw3pS2RR3YdeTe4kZ2/gk3/YQcMXT/Ajli6Bpyr7jdoJajVBQjAPEqZJ9OpiCxYcAWog6Ra9IfX+lvBXwUVOapBGfLtKayKcBV4DrEUi4lmbKtarP4mJJfUip+K1SQW+AmBTdtJbuEgZta/MoZCinbegO3LPxeQdiWp5J8WWwpesubdWteEqdVR+vmPb6boQcGPymBmL5Tg59oWpCokUoVAikl8qCiF7mHqdKGigFmwH/eXGkym38nJuAbfKpa2rUUHrVrOZstl83xexJFbTLO8aCczIKvctZpS4UnNBvPyZ8GgWL2IBBmE+wWid1yEdi9j+DbtCvi/er7BSaMnhftqTvfsPNH35vy3i2nK51vlLf+ylDuKTToXWwc6iE6L+Eqj8Nb0cFn0SoE5BrZZhdjYe4z8cIEF2GvsCcHr+hw9gpWdHdKoGFa08xaIps142EdrZiFjLJOoo2sHAgSZw/oRTL70mnYraVjpwbsaoZgN7ZFWEVJZHH80xwhqgaWhD8ESVTV8Fc9rkQU7vl7vakqvuNRAwypNB94sGtWCbvJCyBwjYOWhQEJyJXG+VQsAYBmfeIpS5g0ZwB2eIeEjRZMkCmiIHJAuOMHxoYBW8QcwK8ZlAVBlpzWA8Ma2azqEdn4ktXskV015cg+NJW5vs+QaSNejEcOOjA4re49Bw0g5BEEuUNOIgXViEM8I5RcssyVUICtQuu01DUeqgFTRNJJMHLTcF0GeYVkttLS5lGbEJwOA6a8rPCV2xaI8f35/Wn2Vn8eRYglNAE0SuDmarEb2AZ8yR5mtPTq4FbRJ3DYYHwOZoXtqKzQBhk3L5yPuKtJJpeYcT/vJv1wVVsAz0GGlKlXnSA2z5wHedrgc0I8iP8wgU7IoALAtsIGk4BwtF705MAIC6M2JZVKsqZ5EO51Ex6t9mcOYV8jOwXUfKzDZIueRBl8k5XlrM+9SFNq9werdfZHHP0BxEZ3RO5H8SVVcGsQVNUEXBGcJfyhnsCTU1WP0XFn5XyGIFvz0JaNCDMamSun6g+0N1I3H3N1L+z0XWW/FnbkFKlQcEFbFlTXBa/qXdDtuhBBx7pAuct9/YtF1PNmEygGrkO+4+A48l0dM+S7ba4G0msC3sUcGfiUf1nMOQNXl1H13alk9QQ5Zh2ZoiedWut62qFej/eSVzPhpSZ/LMj0vhJ/ryk9qfqrpvSWO3DZ/bK60FN5keryUqYG2jBUcC5SdBRwFnPSLB70GzI/ciTaQb2DhK0cSMXbgkRjbJwLkpSjFyjNA470fcixrYlzWJaa6pz4Cppzg5LJFm4V0bTx2qu5pGcSziNcntM2TTd1sVb5+pZGP/5RbIsjOY3w+r1Q6Z4DelqRxTsw6WtaofW1x3ohnUMYNpd2krO7lIR2jivjD3MAdUQGiF+tfWgcurV0aRw4Gefm/8pqjwBsi+tgRH1tCasd4gTuH6D1tSAdISMBw0QxS8T4lUMGYSKho3mLdahrnbTUujbQFlS1g7W4g7VYVLPsoScvkTRnVAwMK9JNixccHLW+DUBTyqlu0E64x6LR+PbRfF2LBi8TIarOurpMEJC4ZZgSPdGVb9kK3dIV2Ir6CY/GyVfWMhC/g7ZUDzbaQtWFvpyJn2InNsUAyYDISANd6TSQniBpNJBV8wxMqHwQcd/MXFtzyiNhKJZINW3xrvEy9kU6zBTykw8bRatOzFinSsxITNypTwW/k595eHo6Pz+wJxFBg4wTfbISs+wl22LXj3y7U7LGFqkzsp0wCl8elTqe35/e+XY1qj5Mt0+zk+/4MMdFuWed9D3tBHC2crcke8SrNBxbLQHo1zj9hJ6JXusPHr7mqZeO1hT6saO95y0odvRtbX8o7bXYQSK9Ns07MX3sms8ski1ORbbGzsx5+ZNEa1c6E6uRB7UyeeJBaeyyzaXLPqVq/Vjk+gaHlKizC7k5HryI9RPOtfgK/3Nw0LFnlb/bcHqiAPStZZ/KN431+2/KN90Tqpvg/VDG6a6O35RxSb6xPLMp+rVVeFpx9Ovm7qUFbAuk7fp9Sh53lXUvrJyUeV7668a4ZXayY4rfip9gTvZAVNwbYoIV4ujg60ZURsNoML2HNyRhZNnhoRMPyx+2eDJq4UOmoF9SxbtMQb+kipYpbjcQ6V0qvGwgMs51M++m+aKfMvSb5ot+TxitZ7i0DPQdiz6vPiaY14aB6v4le+N22y7sdRpVunOjSgEPbsQkkM7cqO7RnNhRPDhluaGZRwmnaw2Pcnwhjvwi5XdU6CXlt7QmOO9ZqK553i9e4DPIalkggEOx9dCPKl05MbsP3OyempHwzZ8Y9R2h5n/3ACbfE7xnfke/EbxnfkfvOwcmd7ulO7c7bB0t3ehz53DXN3Dp7Bu+pm5onrZ833UPb/s5emjodiz3beS+iXzZQq5YGk9tF/myiXzi6r42idz41cJYF4NYgFiqi4Hqjv1jwanta/i8w02vW9yDcrWj+Yq206+7xULbbwKEPkfIaSUMC+Hcw9FdE/eph5MOLtf03NIdlshZzAlW1x2X48m6146Hvjsa+JwZ6Dk1/HaoQbfxeEb7Yz/L644e+9naYdvjwKI364eYcQHT0ao3QecFDAftYC/7Ztn9MRDdnQO9HgPJUUOc3qQ/+i7/vQG1VTZ67U5bZZNy1E7fhtbzaOUGpsp9J/V/AFAjVc2T/v7YkOkG3e7SztPlhJ6j53pGv+9TVtVo36gcThkezujf75vSPzql/4fHGTWizwejPx8AgbnRXx2ttgMkZiz0hrKcQ/nN0SovCHo9Wh07jC+urRTQXx8cyl5r+9+aMskWvdXSvmx2TnWxyHx96lokpRDVFGchHJbJniEh/IS58hd1OD95Te2fMzu9pPZ6fr8a+efIOXMynXe2y6td5okv5IJ+3C3uOeXCO+lPiCcrxnWynhxX7elF/aMgn4l+Xf+natxZPh6jsRz37bhSgRlgkXxeMTw1rw0UTUfZ6yTqVLSXXrRHlrhDwpvqWTbr0AvUFJ7t/bb2l1f6UxZ7Oa1fadj2fjmt7+gN5/UPp/WUG9//bh/9bhvdijdpdNjgL55m/sI97WyeTbsTY9efexK6bDpL6cQMnV9/GRo0OD9Mf9HaUK3tP2TEhyv9rYDPguT4E7D+H0KenQvZgCFzAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAuJAAALiQE3ycutAAAAB3RJTUUH4wMIFQkQCIhbBQAABR1JREFUeNrtm81rXFUUwM/UaZMoiRshbtJVAk0FFxaxiYrQQBJqbaO1HU20ST9UXLg0oAiiYNNVE3DbJJt21/QvcFcVDMaKQVyoXZhWGphGJ21svsafm1v6OL1v5n3c994MzoFASN45555z7/m854o0oAEN+D9DLmkGQJOI7BORF0SkW0SeEpEnzM+j5rN/RKRofn4WkV9E5GsRWcjlcht1p1WgBSgAV4BVosOqoVEAWupB8CeBc0AR91AEJoD2mjMBoE1EPhaRDzzH2g82RGRJRErmdxGRZhFpE5HdIrKrCv6aiHwpImdzudydWtj1IeBmhZ27BcwAo8AeIF+BVt58M2pwblWgexMYytrOZ3wWtw1cBvorCRyARx4YMLS2fXhNp+4fgN3Aj5bFlIGLQGcCPDsN7bKF7zWgIy3h9wI3LIv4CdifAv8ew0vDErA3DeGXFeN/gfMm3qe1CU3ApOHtheXElGCOvd75e8Bwhn5oGFi3nISOJByetvm7wIEaiEIHzFq0T2hxyUR7+/VaEN6zvj7LSZh2Gee1zQ9LjQEwYvEJQ3GJtlmSnPM1nIpPWpKl1jgEz1lCXVMNK6AJWFRrnohT2KypJGd/QNwdwCMOBQtMz+QJZeWs213s/sUQPmMFKAGnHQj/OnDblMYnA+JcinUKTNgrqty+MyDuH+rUvBtD+DeBLdUfyAfA61K1QxFoDsP4DaXByyFwf7fUB+9E9OpbitZKCFOYU7iFMMyvKOT+ELj9JkOMrATghEX4LeB4CBoDCn8ujCddVfV8PuTuHbQkJmXgTADcMUvpuxlqBx+U0t66pRQoggG9ivlMRPt92UcJpyvgnPIR/ljENcwqWr1BkMYV0mgMJxZYCcAZS62/ARyNwX9M0RuPorU9McPYIR8lnPJ8856P8K/G5N2taM4GQZpXRU9eYgLwip8SgPctOfw6cNgB37xR5H2YD4J03YPwq8Nszk8JNuEPOeT7m4f29SAI3gjwveNc/bDaESwNloOOeS54E6kgCF4v/E0CBcsR49ltwg8mwO9bby6h/78jg6KtU0R2Wv6+U0TaJWtQJrDgmPZ4leuvbeBE1iaQlBP8yCLwmsUnOFVCFCc4r2KxizD4iUX4u8BLwGs+Sng7gTD4XRaJ0KcW4e8AL3q+sSlhC3gri0TISSpcLBYF+Nznzv95C9+jlugQSwnASUXvw1SKoc3NTQG+sAhfAnqqdH9sShhxVAz1JF4Ol8tlMYMMGv4GngvYArMpYTiC/Ycvh30aIgMhGH9mEf4v4NkQNI75KKEQgsZgpIaIQS5EaYkBuyz5/gqwL8LxPW5RQmotsUhNUdO+/lM1I5+J4cS0EtJpihoiExHb4r3AVeAr4GmHbfFS0IgUuy1uiLSrW9dyIC+aTHoe5mKk18nFiM8pqMersbNxCLZaLkcna1gBU2qtN2Jdjhqi9Xw9fsQV8WlL26qvhoS3DUhccMmgxYyd6Gqur0aEX0t0RMYw6jADSPokjGR87JMfkvIw9BuTm8pgTG4q1TE5pYQlS76/mEaeYOL8YiaDksocrvmMyl4CuhLg2WVoZzsqqxzjdIXm5py5oo47LD1oaPkNS1/I9DFFgHH5ZdOYGDMtqmrj8t3m21mLv9FJTuw47+rBRKs8eDDxWLWGkTz8YKJJRB4XkQ6ptwcTlgJqop6ezCSliGbTVJkzZWxUKBkahdD1fJomUC1mi/+zufvO6548/Gzuqoj8UJfP5hrQgAbUDfwHR1W28clE13IAAAAASUVORK5CYII=",n=v.e[t].close_button,i=function(t){const e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:null)||document.body||document.getElementsByTagName("body")[0];let n=document.createElement("div");return n.innerHTML=t,e.appendChild(n.firstElementChild)}(`\n
\n
\n
\n
\n
\n
\n
\n ${n}\n
\n \n \n
\n
\n
\n \n \n
\n
\n
\n Verificado pela Leadster\n \n
\n
\n \n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n ${n}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n `,document.getElementById("nld-custom-container")||null);window.neurolead=new _a(i,neuroleadId)}window.addEventListener("load",va,!1),document.addEventListener("readystatechange",(()=>{"complete"===document.readyState&&va()}),!1),"complete"===document.readyState&&va();let ya=null,xa=window.location.href;const wa=()=>{window.neurolead.elChatbot.remove(),window.neurolead?.chatOpenTriggersManager?.clearTriggers(!0),delete window.neurolead,va()};new class{constructor(t){this.callback=t}listen(){this._overrideHistoryMethods(),["popstate","onload","click"].forEach((t=>{window.addEventListener(t,(t=>{this._onRouteChange(t)}))}))}_overrideHistoryMethods(){const t=history.pushState,e=history.replaceState,n=this;history.pushState=function(){for(var e=arguments.length,i=new Array(e),o=0;o{const n=new Set(["onload","popstate","click"]);("click"!==e?.type||n.has(ya))&&xa!==window.location.href&&(requestAnimationFrame(wa),ya=e?.type,xa=window.location.href)})).listen()})()})();